Deal with missing nproc on macos

pull/1924/head
Tatsuhiro Tsujikawa 2022-05-15 17:32:52 +09:00
parent 0065c179ca
commit 31b773de54
1 changed files with 1 additions and 1 deletions

View File

@ -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