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 <[email protected]>
This commit is contained in:
Lars-Peter Clausen
2023-01-02 16:53:33 -08:00
parent 23e51ef7a8
commit 9fcec0186c
+2 -2
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