Skip to content

Commit e6d9d78

Browse files
authored
Merge pull request #2576 from mavlink/pr-windows-nproc
CI: hard-code Windows to 4 threads
2 parents ce476ac + fda574d commit e6d9d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: configure
4141
run: cmake -G "Visual Studio 17 2022" $env:superbuild $env:cmake_prefix_path -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=build/release/install -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DWERROR=ON -Bbuild/release -S.
4242
- name: build
43-
run: cmake --build build/release -j${{ runner.os == 'Windows' && env.NUMBER_OF_PROCESSORS || runtime.numCPU }} --config RelWithDebInfo --target install
43+
run: cmake --build build/release -j4 --config RelWithDebInfo --target install
4444
- name: Create zip file mavsdk libraries
4545
if: startsWith(github.ref, 'refs/tags/v')
4646
run: cd build/release/install && 7z.exe a -tzip ../../../mavsdk-windows-x64-release.zip . && cd ../../..

0 commit comments

Comments
 (0)