Raise ulimit on MacOS for tests
This commit is contained in:
parent
4ecbf0edca
commit
a4ae955ce2
2
.github/workflows/osrm-backend.yml
vendored
2
.github/workflows/osrm-backend.yml
vendored
@ -395,7 +395,7 @@ jobs:
|
||||
if [[ "${RUNNER_OS}" == "Linux" ]]; then
|
||||
echo "JOBS=$((`nproc` + 1))" >> $GITHUB_ENV
|
||||
elif [[ "${RUNNER_OS}" == "macOS" ]]; then
|
||||
echo "JOBS=$((`sysctl -n hw.ncpu` + 1))" >> $GITHUB_ENV
|
||||
echo "JOBS=$((`ulimit -n 1024 && sysctl -n hw.ncpu` + 1))" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Install dev dependencies
|
||||
|
||||
Loading…
Reference in New Issue
Block a user