diff --git a/.ci/monolithic-windows.sh b/.ci/monolithic-windows.sh index 14dea04c04291..f85d6e3d51b57 100755 --- a/.ci/monolithic-windows.sh +++ b/.ci/monolithic-windows.sh @@ -56,6 +56,8 @@ start-group "ninja" # Targets are not escaped as they are passed as separate arguments. ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log -start-group "ninja runtimes" - -ninja -C "${BUILD_DIR}" -k 0 ${runtimes_targets} |& tee ninja_runtimes.log +if [[ "${runtime_targets}" != "" ]]; then + start-group "ninja runtimes" + + ninja -C "${BUILD_DIR}" -k 0 ${runtimes_targets} |& tee ninja_runtimes.log +fi