Skip to content

Commit

Permalink
Attempt to fix Windows CI by turning off concurrent builds (#4395)
Browse files Browse the repository at this point in the history
  • Loading branch information
bejado committed Jul 28, 2021
1 parent ac0c94d commit 9073fc3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build/windows/build-github.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

setlocal

systeminfo

echo Disk info before building:
call :ShowDiskInfo

Expand Down Expand Up @@ -112,7 +114,20 @@ cmake ..\.. ^
-DFILAMENT_WINDOWS_CI_BUILD:BOOL=ON ^
-DFILAMENT_SUPPORTS_VULKAN=ON ^
|| exit /b

:: Attempt to fix "error C1060: compiler is out of heap space" seen on CI.
:: Some resource libraries require significant heap space to compile, so first compile them serially.
@echo on
cmake --build . --target filagui --config %config% || exit /b
cmake --build . --target gltfio_resources --config %config% || exit /b
cmake --build . --target gltfio_resources_lite --config %config% || exit /b
cmake --build . --target gltf-resources --config %config% || exit /b
cmake --build . --target filamentapp-resources --config %config% || exit /b
cmake --build . --target sample-resources --config %config% || exit /b
cmake --build . --target suzanne-resources --config %config% || exit /b

cmake --build . %INSTALL% --config %config% -- /m || exit /b
@echo off

echo Disk info after building variant: %variant%
call :ShowDiskInfo
Expand Down

0 comments on commit 9073fc3

Please sign in to comment.