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