Build s3fs in parallel (#1848)

GitHub runners provide 2 Linux CPUs or 3 macOS CPUs:

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
This commit is contained in:
Andrew Gaul 2022-01-09 20:22:49 +09:00 committed by GitHub
parent 577e2bc987
commit 75b16c72aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ jobs:
run: |
./autogen.sh
/bin/sh -c "./configure ${CONFIGURE_OPTIONS}"
make
make --jobs=$(nproc)
- name: Cppcheck
run: |
@ -146,7 +146,7 @@ jobs:
run: |
./autogen.sh
PKG_CONFIG_PATH=/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig ./configure CXXFLAGS='-std=c++03 -DS3FS_PTHREAD_ERRORCHECK=1'
make
make --jobs=$(sysctl -n hw.ncpu)
- name: Cppcheck
run: |