-
-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (33 loc) · 960 Bytes
/
CLANG-MacOS-XCode.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
42
43
name: Build-and-Test-CLANG-MacOS
on:
workflow_dispatch:
push:
branches:
- main
- dev
jobs:
Build:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v4
- name: Set up Xcode
run: |
sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer
xcodebuild -version
- name: Configure CMake
run: cmake -B build -G Xcode -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DJSONIFIER_TEST="TRUE"
- name: Build the Test
run: |
cmake --build ./Build --config=${{matrix.build_type}} -v
- name: Install the Test
run: |
sudo cmake --install ./Build --config=${{matrix.build_type}}
- name: Run the Test
run: |
sudo chmod +x /usr/local/bin/Json-Performance
/usr/local/bin/Json-Performance
continue-on-error: true