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:
parent
3f95543c2c
commit
99f239b4a6
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -78,14 +78,9 @@ jobs:
|
|||||||
sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3
|
sudo -E apt-get install --fix-missing -qq -o Acquire::Retries=3
|
||||||
clang-14 libomp-14-dev lld-14 llvm-14
|
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
|
- name: Prepare macOS environment
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
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
|
echo "PKG_CONFIG_PATH=$(brew --prefix jpeg-turbo)/lib/pkgconfig:$(brew --prefix libxml2)/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Prepare sanitizers
|
- name: Prepare sanitizers
|
||||||
|
Loading…
Reference in New Issue
Block a user