mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-05-11 11:22:05 +00:00
Use available CPU cores on Windows
This commit is contained in:
parent
9a471c4f97
commit
82c70255ad
1 changed files with 6 additions and 2 deletions
8
.github/workflows/validate.yml
vendored
8
.github/workflows/validate.yml
vendored
|
|
@ -90,9 +90,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# enable ccache
|
# enable ccache
|
||||||
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
||||||
cmake --build cmake-build --config ${{ matrix.type }} --target ultramodern -j 8
|
$cpuCores = (Get-CimInstance -ClassName Win32_Processor).NumberOfLogicalProcessors
|
||||||
|
|
||||||
|
cmake --build cmake-build --config ${{ matrix.type }} --target ultramodern -j $cpuCores
|
||||||
- name: Build librecomp
|
- name: Build librecomp
|
||||||
run: |
|
run: |
|
||||||
# enable ccache
|
# enable ccache
|
||||||
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
||||||
cmake --build cmake-build --config ${{ matrix.type }} --target librecomp -j 8
|
$cpuCores = (Get-CimInstance -ClassName Win32_Processor).NumberOfLogicalProcessors
|
||||||
|
|
||||||
|
cmake --build cmake-build --config ${{ matrix.type }} --target librecomp -j $cpuCores
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue