CI: remove redundant JOBS env (#2967)

ninja runs as many parallel jobs as there are available CPU cores
by default. So, there's no need to set this environment variable.
This commit is contained in:
Kleis Auke Wolthuizen 2022-07-30 20:22:42 +02:00 committed by GitHub
parent 3f95543c2c
commit 99f239b4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,14 +78,9 @@ jobs:
sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3
clang-14 libomp-14-dev lld-14 llvm-14
- name: Prepare Ubuntu environment
if: runner.os == 'Linux'
run: echo "JOBS=$(nproc)" >> $GITHUB_ENV
- name: Prepare macOS environment
if: runner.os == 'macOS'
run: |
echo "JOBS=$(sysctl -n hw.logicalcpu)" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$(brew --prefix jpeg-turbo)/lib/pkgconfig:$(brew --prefix libxml2)/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
- name: Prepare sanitizers