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:
Lars-Peter Clausen 2023-01-02 16:35:48 -08:00
parent 23e51ef7a8
commit 9fcec0186c
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ jobs:
export PATH="/usr/local/opt/bison/bin:$PATH"
autoconf
./configure
make check
make -j$(nproc) check
sudo make install
- name: Test
@ -58,7 +58,7 @@ jobs:
run: |
autoconf
./configure
make check
make -j$(nproc) check
sudo make install
- name: Test