From 9fcec0186ca30412858771910b5c0904c8a97355 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 2 Jan 2023 16:35:48 -0800 Subject: [PATCH] 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 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2bc5e762b..b59e5b581 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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