Skip to content

Commit e1c4fc9

Browse files
committed
CI parallel test on MSVC build (nmake no parallel capability)
1 parent 214166b commit e1c4fc9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/smoke-windows-msvc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414
runs-on: windows-latest
1515

1616
steps:
17+
- name: CPUs
18+
shell: bash
19+
run: |
20+
export SYSTEM_CORES=$( powershell -NoProfile -Command "& { Get-WmiObject Win32_Processor | Select-Object -Property NumberOfCores }" | perl -0777 -ne 'print $1, "\n" while /(\d+)/g' );
21+
echo "SYSTEM_CORES=$SYSTEM_CORES" >> $GITHUB_ENV
22+
echo "HARNESS_OPTIONS=j$SYSTEM_CORES" >> $GITHUB_ENV
1723
- name: Get/extract
1824
shell: bash
1925
run: |

0 commit comments

Comments
 (0)