Skip to content

Commit ddc081f

Browse files
authored
Creating macos build action
1 parent 8b3f569 commit ddc081f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build-macos.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: build-macos
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- '**/*.md'
7+
pull_request:
8+
paths-ignore:
9+
- '**/*.md'
10+
11+
jobs:
12+
13+
build-osx:
14+
runs-on: macos-10.15
15+
strategy:
16+
matrix:
17+
cfg:
18+
- {target: osx, opt: ""}
19+
- {target: osx, opt: "makefiles"}
20+
env:
21+
TARGET: ${{matrix.cfg.target}}
22+
OPT: ${{matrix.cfg.opt}}
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Download libs
26+
run: cd ~
27+
git clone --depth=1 https://github.com/openframeworks/openFrameworks.git
28+
cd openFrameworks
29+
git clone --depth=1 --branch=master https://github.com/npisanti/ofxAudioFile addons/ofxAudioFile
30+
git clone --depth=1 --branch=master https://github.com/kylemcdonald/ofxFft addons/ofxFft
31+
- name: install
32+
run: ./scripts/ci/addons/install.sh
33+
- name: Build
34+
run: scripts/ci/addons/build.sh
35+
env:
36+
DEVELOPER_DIR: "/Applications/Xcode_12.2.app/Contents/Developer"
37+
SDKROOT: "/Applications/Xcode_12.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"

0 commit comments

Comments
 (0)