From 2851164c1cd3070c06dfe6db121e74f95b15f2c3 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 24 Mar 2021 01:03:19 +1100 Subject: [PATCH] ci: use ninja on macOS Should speed up Mac builds. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 638ffd09f..ee9617aef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -275,7 +275,7 @@ jobs: os-name: macOS os-arch: x86_64 os: macos-latest - cmake-gen: Unix Makefiles + cmake-gen: Ninja env: EXTRACT_TOOL: sudo unzip -d /usr/local -o name: | @@ -348,6 +348,7 @@ jobs: shell: bash working-directory: ${{ runner.workspace }}/build run: | + brew install ninja PATH=$GITHUB_WORKSPACE:$PATH \ cmake $GITHUB_WORKSPACE -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -G "${{ matrix.cmake-gen }}"