Skip to content

Commit 763c136

Browse files
committed
fix(ci): switch macOS CI back to Ninja
1 parent 26db35e commit 763c136

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/macos.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: macOS
33
on: [push, pull_request]
44

55
jobs:
6-
xcode:
6+
apple-clang:
77
strategy:
88
fail-fast: false
99
matrix:
@@ -17,6 +17,8 @@ jobs:
1717
submodules: true
1818
fetch-depth: 0
1919

20+
- uses: seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401
21+
2022
- name: Cache vcpkg
2123
uses: actions/cache@v4.0.2
2224
id: cache-vcpkg
@@ -50,7 +52,8 @@ jobs:
5052
$cacheAccess = $(if ('${{ steps.cache-vcpkg.outputs.cache-hit }}' -eq 'true') { 'read' } else { 'write' })
5153
$env:VCPKG_BINARY_SOURCES = "clear;files,$cachedBinaries,$cacheAccess"
5254
53-
cmake "-DCMAKE_TOOLCHAIN_FILE=$vcpkgToolchain" "-DCMAKE_BUILD_TYPE=$cmakeBuildType" "-DGRAPHQL_BUILD_MODULES=OFF" ${{ github.workspace }}
55+
$env:PATH = "${env:PATH}:${{ github.workspace }}/ninja-build"
56+
cmake "-DCMAKE_TOOLCHAIN_FILE=$vcpkgToolchain" "-DCMAKE_BUILD_TYPE=$cmakeBuildType" "-DGRAPHQL_BUILD_MODULES=OFF" -G Ninja ${{ github.workspace }}
5457
5558
- name: Build
5659
working-directory: build/

0 commit comments

Comments
 (0)