summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-07-19 16:21:09 -0700
committerGitHub <noreply@github.com>2023-07-19 16:21:09 -0700
commitb959836483030dabd63a4618418386a3f7144028 (patch)
tree6fbac4a4d4535fb55a8a7a9d03f69c68b89f38d6 /.github/workflows
parent3509059cd8357455155260d8587b8a438c34e49f (diff)
Limit CPU cores when running MSBuild CI (#3002)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/windows-selfhosted.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/windows-selfhosted.yml b/.github/workflows/windows-selfhosted.yml
index 9fc68e149..b3054f762 100644
--- a/.github/workflows/windows-selfhosted.yml
+++ b/.github/workflows/windows-selfhosted.yml
@@ -33,7 +33,7 @@ jobs:
.\make-slang-tag-version.bat
- MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0
+ MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0 -maxcpucount:12
- name: test
run: |
$slangTestBinDir = ".\bin\windows-${{matrix.testPlatform}}\${{matrix.configuration}}\";