diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 817a59b7..3ef4f5c0 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -25,9 +25,8 @@ jobs: - name: Build working-directory: ${{runner.workspace}}/build run: | - $threads = (Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors - cmake --build . --config Debug --parallel $threads - cmake --build . --config Release --parallel $threads + cmake --build . --config Debug + cmake --build . --config Release - name: Test working-directory: build diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index ff743f57..e1e17cf0 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -25,9 +25,8 @@ jobs: - name: Build working-directory: ${{runner.workspace}}/build run: | - $threads = (Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors - cmake --build . --config Debug --parallel $threads - cmake --build . --config Release --parallel $threads + cmake --build . --config Debug + cmake --build . --config Release - name: Test working-directory: build diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0bf2a92f..76837c13 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -33,9 +33,7 @@ jobs: - name: Build working-directory: ${{runner.workspace}}/build - run: | - $threads = (Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors - cmake --build . --config ${{matrix.build_type}} --parallel $threads + run: cmake --build . --config ${{matrix.build_type}} - name: Test working-directory: ${{runner.workspace}}/build