ci: Use parallel build
The github CI VM has multiple CPUs. 2 for Linux and Windows, 3 for macOS. Make use of parallel build to speed up the CI tests a bit. For Windows the `makepkg-mingw` command already schedules a parallel build, so no changes are made to the Windows build. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
parent
23e51ef7a8
commit
9fcec0186c
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
export PATH="/usr/local/opt/bison/bin:$PATH"
|
export PATH="/usr/local/opt/bison/bin:$PATH"
|
||||||
autoconf
|
autoconf
|
||||||
./configure
|
./configure
|
||||||
make check
|
make -j$(nproc) check
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
autoconf
|
autoconf
|
||||||
./configure
|
./configure
|
||||||
make check
|
make -j$(nproc) check
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue