Skip to content

Commit

Permalink
Bump nproc for windows for CSHarp: github runners has 4 cpus now
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Jan 29, 2024
1 parent 1ce97f5 commit 15062a1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/buildCSharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install conan
run: |
python --version
pip install conan==1.59
pip install conan==1.62.0
conan --version
echo "Enabling conan revisions and setting parallel_download"
conan config set general.revisions_enabled=True
Expand All @@ -61,7 +61,6 @@ jobs:
-DBUILD_TESTING:BOOL=OFF -DBUILD_RUBY_BINDINGS:BOOL=OFF -DBUILD_PYTHON_BINDINGS:BOOL=OFF -DBUILD_CLI:BOOL=OFF \
-DBUILD_PACKAGE:BOOL=OFF \
../
ninja
Expand All @@ -80,7 +79,6 @@ jobs:
-DBUILD_TESTING:BOOL=OFF -DBUILD_RUBY_BINDINGS:BOOL=OFF -DBUILD_PYTHON_BINDINGS:BOOL=OFF -DBUILD_CLI:BOOL=OFF \
-DBUILD_PACKAGE:BOOL=OFF \
../
ninja
- name: Compile Windows 64
Expand All @@ -95,7 +93,7 @@ jobs:
-DBUILD_TESTING:BOOL=OFF -DBUILD_RUBY_BINDINGS:BOOL=OFF -DBUILD_PYTHON_BINDINGS:BOOL=OFF -DBUILD_CLI:BOOL=OFF ^
-DBUILD_PACKAGE:BOOL=OFF ^
../
cmake --build . --verbose --config Release -j 2
cmake --build . --verbose --config Release -j 4
- name: Install Dotnet x86
Expand All @@ -117,7 +115,7 @@ jobs:
-DBUILD_TESTING:BOOL=OFF -DBUILD_RUBY_BINDINGS:BOOL=OFF -DBUILD_PYTHON_BINDINGS:BOOL=OFF -DBUILD_CLI:BOOL=OFF ^
-DBUILD_PACKAGE:BOOL=OFF ^
../
cmake --build . --verbose --config Release -j 2
cmake --build . --verbose --config Release -j 4
- name: build nuget for Windows
Expand Down

0 comments on commit 15062a1

Please sign in to comment.