Skip to content

Commit 8e96b3d

Browse files
attempt parallel build
1 parent 2173db0 commit 8e96b3d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/Engine-CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
push:
3-
branches: [ master, develop, arena-integration ]
3+
branches: [ master, develop, arena-integration, parallel ]
44
pull_request:
55
branches: [ master, develop, arena-integration ]
66

Scripts/BuildEngine.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ function Build([string]$configuration, [int]$VsVersion , [bool]$runBuild) {
140140

141141
Write-Host "Building $systemName $architecture $configuration"
142142

143-
$buildArguments = "--build --preset $configName"
143+
$processorCount = [ENVIRONMENT]::ProcessorCount
144+
145+
$buildArguments = "--build --preset $configName --parallel $processorCount"
144146

145147
$buildProcess = Start-Process $cMakeProgram -ArgumentList $buildArguments -NoNewWindow -PassThru
146148

0 commit comments

Comments
 (0)