mirror of
https://github.com/transmission/transmission
synced 2025-01-03 05:25:52 +00:00
fix: CI: Do not use nproc on macOS hosts. (#5833)
This is not an error, but a warning when building/running tests with CMake/GoogleTest. Use `sysctl -n hw.logicalcpu` to get parallelization number. See: https://github.com/memkind/memkind/issues/33#issuecomment-540614162 No changes affecting users, so no `Notes:` here. Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
parent
76ced6115f
commit
dae1bb123c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/actions.yml
vendored
4
.github/workflows/actions.yml
vendored
|
@ -277,7 +277,7 @@ jobs:
|
|||
if: ${{ needs.what-to-make.outputs.make-tests == 'true' }}
|
||||
env:
|
||||
TMPDIR: /private/tmp
|
||||
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
||||
run: cmake -E chdir obj ctest -j $(sysctl -n hw.logicalcpu) --build-config RelWithDebInfo --output-on-failure
|
||||
- name: Install
|
||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
@ -559,7 +559,7 @@ jobs:
|
|||
if: ${{ needs.what-to-make.outputs.make-tests == 'true' }}
|
||||
env:
|
||||
TMPDIR: /private/tmp
|
||||
run: cmake -E chdir obj ctest -j $(nproc) --build-config RelWithDebInfo --output-on-failure
|
||||
run: cmake -E chdir obj ctest -j $(sysctl -n hw.logicalcpu) --build-config RelWithDebInfo --output-on-failure
|
||||
- name: Install
|
||||
run: cmake --build obj --config RelWithDebInfo --target install/strip
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
|
Loading…
Reference in a new issue