From 055fc7cbc1f36380dde219ae1069ebb9d92bdabd Mon Sep 17 00:00:00 2001 From: Ben Doherty Date: Tue, 27 Jul 2021 19:54:51 -0700 Subject: [PATCH] Attempt to fix Windows CI by turning off concurrent builds (#4395) --- build/windows/build-github.bat | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/build/windows/build-github.bat b/build/windows/build-github.bat index ce3abfeb23..ce02c0f7ba 100644 --- a/build/windows/build-github.bat +++ b/build/windows/build-github.bat @@ -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