use nproc to set number of jobs in CI

This commit is contained in:
Stone Tickle 2022-09-30 09:29:21 -04:00
parent a7937a144d
commit 697a69b5ec
No known key found for this signature in database
GPG Key ID: 4DF34BD9C2622309
2 changed files with 4 additions and 4 deletions

View File

@ -49,10 +49,10 @@ tasks:
CC=tcc .builds/bootstrap.sh build-tcc
- test_gcc: |
cd muon/build
CC=gcc ./muon test -d dots
CC=gcc ./muon test -j$(nproc) -d dots
- test_clang: |
cd muon/build
CC=clang ./muon test -d dots
CC=clang ./muon test -j$(nproc) -d dots
- release: |
cd muon/build
arch=amd64-linux-static

View File

@ -20,7 +20,7 @@ tasks:
ninja -C build_memsan
- test: |
cd ~/muon/build_asan_ubsan
./muon test -d dots
./muon test -j$(nproc) -d dots
cd ~/muon/build_memsan
./muon test -d dots
./muon test -j$(nproc) -d dots