File tree Expand file tree Collapse file tree
docker/deployment/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 path : build/NREL/export/*.tar.gz
5050
5151 build-macos :
52- runs-on : macos-15-intel # Matching the test workflow
52+ runs-on : macos-15-intel # Intel runner required for x86_64 architecture compatibility with OpenStudio (matching the test workflow)
5353 steps :
5454 - name : Check out repository
5555 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -8,32 +8,36 @@ set "Url=https://github.com/NREL/OpenStudio/releases/download/v%OPENSTUDIO_VERSI
88echo Downloading %Url% ...
99powershell -Command " Invoke-WebRequest -Uri '%Url% ' -OutFile '%InstallerName% '"
1010if %ERRORLEVEL% neq 0 (
11- echo Error downloading OpenStudio
11+ echo Failed to download OpenStudio from %Url% (exit code %ERRORLEVEL% )
1212 exit /b %ERRORLEVEL%
1313)
1414
1515echo Installing OpenStudio...
1616start /wait " " " .\%InstallerName% " /S /D=C:\projects\openstudio
1717if %ERRORLEVEL% neq 0 (
18- echo Error installing OpenStudio
18+ echo Failed to install OpenStudio from " %InstallerName% " (exit code %ERRORLEVEL% )
1919 exit /b %ERRORLEVEL%
2020)
2121
2222REM Verify OpenStudio
2323set " PATH = C:\projects\openstudio\bin;%PATH% "
2424call openstudio openstudio_version
2525if %ERRORLEVEL% neq 0 (
26- echo Error verifying OpenStudio
26+ echo Failed to verify OpenStudio installation - 'openstudio openstudio_version' command failed (exit code %ERRORLEVEL% )
2727 exit /b %ERRORLEVEL%
2828)
2929
3030REM --- Setup MSYS2 and Dependencies ---
3131call ridk install 2 3
3232if %ERRORLEVEL% neq 0 (
33- echo Error running ridk install
33+ echo Failed to install MSYS2 dependencies via ridk (exit code %ERRORLEVEL% )
3434 exit /b %ERRORLEVEL%
3535)
3636
3737call gcc --version
38+ if %ERRORLEVEL% neq 0 (
39+ echo Error: gcc not found
40+ exit /b %ERRORLEVEL%
41+ )
3842
3943endlocal
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ elif [ "${GITHUB_REF}" == "refs/heads/master" ]; then
1515elif [ " ${GITHUB_REF} " == " refs/heads/setup_github_actions" ]; then
1616 IMAGETAG=experimental
1717elif [ " ${GITHUB_REF} " == " refs/heads/3.11.0" ]; then
18- IMAGETAG=" 3.11.0-rc2 "
18+ IMAGETAG=" 3.11.0"
1919fi
2020
2121if [ " ${IMAGETAG} " != " skip" ]; then
You can’t perform that action at this time.
0 commit comments