Skip to content

Commit cb68e8d

Browse files
author
scc
committed
ci: Add Apple Clang on macos-latest to CI matrix
1 parent 8b6de12 commit cb68e8d

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ jobs:
3939
build_args: ""
4040
test_args: ""
4141

42+
- name: Apple Clang
43+
os: macos-latest
44+
generator: Ninja
45+
cmake_args: "-DCMAKE_BUILD_TYPE=Debug"
46+
build_args: ""
47+
test_args: ""
48+
4249
name: ${{ matrix.name }}
4350
runs-on: ${{ matrix.os }}
4451

@@ -79,11 +86,15 @@ jobs:
7986
restore-keys: |
8087
cpm-${{ runner.os }}-${{ matrix.name }}-
8188
82-
# ── Install Ninja (Linux only — Windows runners already have it) ──
83-
- name: Install Ninja
89+
# ── Install Ninja (Linux and macOS — Windows runners already have it) ──
90+
- name: Install Ninja (Linux)
8491
if: runner.os == 'Linux'
8592
run: sudo apt-get update && sudo apt-get install -y ninja-build
8693

94+
- name: Install Ninja (macOS)
95+
if: runner.os == 'macOS'
96+
run: brew install ninja
97+
8798
# ── Configure ──
8899
- name: Configure
89100
shell: bash

0 commit comments

Comments
 (0)