-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 961 Bytes
/
MacOS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: MacOS
on:
push:
branches:
- main
pull_request:
jobs:
tests:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
include:
- {cmake-version: 3.16.x, name: '3.16'}
- {cmake-version: 3.17.x, name: '3.17'}
- {cmake-version: 3.18.x, name: '3.18'}
- {cmake-version: 3.19.x, name: '3.19'}
- {cmake-version: 3.20.x, name: '3.20'}
- {cmake-version: 3.21.x, name: '3.21'}
- {cmake-version: 3.22.x, name: '3.22'}
name: 🧪 Test CMake ${{ matrix.name }}
steps:
- name: 🧰 Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: ${{ matrix.icon }} Setup CMake
uses: jwlawson/[email protected]
with:
cmake-version: ${{ matrix.cmake-version }}
github-api-token: ${{ secrets.GITHUB_TOKEN }}
- name: 🧪 Run tests
run: |
cmake -DBUILD_TESTS=ON -S . -B build