From 06666f3d1dfc1992de30c39941007e92d4cc3b35 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 2 Jan 2022 17:47:05 -0800 Subject: [PATCH] CI: Set CMAKE_BUILD_PARALLEL_LEVEL to 4. This speeds up the CI build, since before it was effectively 1. Build times on ubuntu-latest are reduced by slightly over 2 minutes. Note Linux CI runners are defined to have 2 cores and Mac runners 3. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ff263255..54f3711a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ on: [push, pull_request] env: CTEST_PARALLEL_LEVEL: "1" + CMAKE_BUILD_PARALLEL_LEVEL: "4" jobs: ubuntu: