Skip to content

Commit 034bd9b

Browse files
committed
Continuous Building
1 parent 3fe5ded commit 034bd9b

File tree

1 file changed

+7
-0
lines changed
  • .github/actions/continuous-building/trenchbroom/build-binaries/windows

1 file changed

+7
-0
lines changed

.github/actions/continuous-building/trenchbroom/build-binaries/windows/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ runs:
9090
with:
9191
CICD_OPERATING_SYSTEM_NAME: ${{ inputs.CICD_OPERATING_SYSTEM_NAME }}
9292
QT_VERSION: 6.8.0
93+
- name: Patch CI script for parallel compilation
94+
if: steps.cache-restore.outputs.CACHE_HIT != 'true'
95+
working-directory: working-directory/
96+
run: |
97+
$ErrorActionPreference = 'Stop'
98+
(Get-Content CI-windows.bat) -replace 'cmake --build \. --config Release', "cmake --build . --config Release -- -j $env:NUMBER_OF_PROCESSORS" | Set-Content CI-windows.bat
99+
shell: pwsh
93100
- name: Compile the source code
94101
if: steps.cache-restore.outputs.CACHE_HIT != 'true'
95102
working-directory: working-directory/

0 commit comments

Comments
 (0)