mirror of https://github.com/aria2/aria2
Deal with missing nproc on macos
parent
0065c179ca
commit
31b773de54
|
@ -62,4 +62,4 @@ jobs:
|
|||
CPPFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address"
|
||||
- name: Build aria2
|
||||
run: |
|
||||
make -j$(nproc) check
|
||||
make -j"$(nproc 2> /dev/null || sysctl -n hw.ncpu)" check
|
||||
|
|
Loading…
Reference in New Issue