Attempt to fix Windows CI by turning off concurrent builds (#4395)
This commit is contained in:
committed by
Benjamin Doherty
parent
2409dc9bc4
commit
055fc7cbc1
@@ -2,6 +2,8 @@
|
||||
|
||||
setlocal
|
||||
|
||||
systeminfo
|
||||
|
||||
echo Disk info before building:
|
||||
call :ShowDiskInfo
|
||||
|
||||
@@ -115,16 +117,17 @@ cmake ..\.. ^
|
||||
|
||||
:: 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.
|
||||
:: Note: we could also try removing the "/m" flag here if the error persists.
|
||||
cmake --build . --target filagui --config %config% -- /m || exit /b
|
||||
cmake --build . --target gltfio_resources --config %config% -- /m || exit /b
|
||||
cmake --build . --target gltfio_resources_lite --config %config% -- /m || exit /b
|
||||
cmake --build . --target gltf-resources --config %config% -- /m || exit /b
|
||||
cmake --build . --target filamentapp-resources --config %config% -- /m || exit /b
|
||||
cmake --build . --target sample-resources --config %config% -- /m || exit /b
|
||||
cmake --build . --target suzanne-resources --config %config% -- /m || exit /b
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user