Merge pull request #1924 from aria2/fix-nproc

Deal with missing nproc on macos
pull/1929/head
Tatsuhiro Tsujikawa 2022-05-15 17:58:55 +09:00 committed by GitHub
commit d4b96e24ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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