Skip to content

Commit

Permalink
fix(ci): switch macOS CI back to Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
wravery committed Sep 16, 2024
1 parent 26db35e commit 763c136
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: macOS
on: [push, pull_request]

jobs:
xcode:
apple-clang:
strategy:
fail-fast: false
matrix:
Expand All @@ -17,6 +17,8 @@ jobs:
submodules: true
fetch-depth: 0

- uses: seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401

- name: Cache vcpkg
uses: actions/[email protected]
id: cache-vcpkg
Expand Down Expand Up @@ -50,7 +52,8 @@ jobs:
$cacheAccess = $(if ('${{ steps.cache-vcpkg.outputs.cache-hit }}' -eq 'true') { 'read' } else { 'write' })
$env:VCPKG_BINARY_SOURCES = "clear;files,$cachedBinaries,$cacheAccess"
cmake "-DCMAKE_TOOLCHAIN_FILE=$vcpkgToolchain" "-DCMAKE_BUILD_TYPE=$cmakeBuildType" "-DGRAPHQL_BUILD_MODULES=OFF" ${{ github.workspace }}
$env:PATH = "${env:PATH}:${{ github.workspace }}/ninja-build"
cmake "-DCMAKE_TOOLCHAIN_FILE=$vcpkgToolchain" "-DCMAKE_BUILD_TYPE=$cmakeBuildType" "-DGRAPHQL_BUILD_MODULES=OFF" -G Ninja ${{ github.workspace }}
- name: Build
working-directory: build/
Expand Down

0 comments on commit 763c136

Please sign in to comment.