diff options
| author | Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com> | 2022-05-15 17:58:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-15 17:58:55 +0900 |
| commit | d4b96e24ed969943b1b693678c00a22c80916e13 (patch) | |
| tree | 80c1adb678297a11a4e573472ddc074e98f20970 | |
| parent | 0065c179ca9a17de05eb250a18496167e4996547 (diff) | |
| parent | 31b773de54be7f2c33b1c3f6cfcda2274980e504 (diff) | |
Merge pull request #1924 from aria2/fix-nproc
Deal with missing nproc on macos
| -rw-r--r-- | .github/workflows/build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5744a315..c7a33c34 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |
