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.
This commit is contained in:
ridiculousfish 2022-01-02 17:47:05 -08:00
parent 57a9fe492e
commit 06666f3d1d

View file

@ -4,6 +4,7 @@ on: [push, pull_request]
env:
CTEST_PARALLEL_LEVEL: "1"
CMAKE_BUILD_PARALLEL_LEVEL: "4"
jobs:
ubuntu: