-
Notifications
You must be signed in to change notification settings - Fork 299
26 lines (26 loc) · 815 Bytes
/
macos.yml
File metadata and controls
26 lines (26 loc) · 815 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
name: macOS build
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os:
- 13
- 14
runs-on: macos-${{ matrix.os }}
name: 'macos-${{ matrix.os }}'
steps:
- uses: actions/checkout@v3
- name: Setup
run: |
mkdir _build
cd _build && cmake .. -DBUILD_TESTS=ON -DDOWNLOAD_DOCTEST=ON -DBUILD_BENCHMARK=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
- name: Build
run: cmake --build _build --verbose
- name: Testing sequential
run: cmake --build _build --target xbenchmark --verbose
- name: Testing xsimd
run: ${{github.workspace}}/_build/test/test_xsimd