-
Notifications
You must be signed in to change notification settings - Fork 5
49 lines (48 loc) · 1.08 KB
/
macos-x86-cpu-clang.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
44
45
46
47
48
49
name: macos-x86-cpu-clang
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/macos-x86-cpu-clang.yml'
- 'CMakeLists.txt'
- 'cmake/**'
- 'mediapipe/**'
- 'examples/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/macos-x86-cpu-clang.yml'
- 'CMakeLists.txt'
- 'cmake/**'
- 'mediapipe/**'
- 'examples/**'
concurrency:
group: macos-x86-cpu-clang-${{ github.ref }}
cancel-in-progress: true
env:
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
MAC_DEPLOYMENT_TARGET: '10.9'
MAC_ARM64_DEPLOYMENT_TARGET: '11.0'
ENABLE_BITCODE: OFF
ENABLE_ARC: OFF
ENABLE_VISIBILITY: OFF
permissions:
contents: read
jobs:
macos-clang:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: install_conan
run: |
pip3 install conan
conan profile detect --force
- name: build
run: |
conan install . --build=missing
cd build_Macos
cmake ..
make -j 2
- name: test
run: cd build_Macos && make test