-
-
Notifications
You must be signed in to change notification settings - Fork 273
42 lines (40 loc) · 928 Bytes
/
build_macos.yml
File metadata and controls
42 lines (40 loc) · 928 Bytes
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
42
name: ci-build-macos
on:
push:
paths-ignore:
- .dockerignore
- .gitignore
- .gitattributes
- AUTHORS
- CONTRIBUTING.md
- docker-compose.yml
- LICENSE
- README.md
- Dockerfile
- images/*
- docker/*
pull_request:
jobs:
build-mac:
name: "macOS 14 arm64 Xcode (Clang)"
runs-on: macos-14
strategy:
matrix:
xcode: [15.3, 16.1]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.28.6'
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}
- name: Cpplint
run: cmake -P cmake/cpplint.cmake
- name: Configure
run: cmake -B build -D DOWNLOAD_DATASETS=OFF
- name: Build tutorials
run: cmake --build build --parallel 4