-
Notifications
You must be signed in to change notification settings - Fork 75
59 lines (56 loc) · 1.91 KB
/
build-macos.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
50
51
52
53
54
55
56
57
58
59
name: build-macos
on:
push:
paths-ignore:
- '**/README.md'
pull_request:
paths-ignore:
- '**/README.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-osx:
runs-on: macos-13
strategy:
matrix:
cfg:
- {target: osx}
env:
TARGET: ${{ matrix.cfg.target }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- name: rm-dev
run: sudo rm -rf /Library/Developer
- name: Setup
run: ./scripts/osx/setup_environment.sh
# - name: Build CMDLINE
# run: ./scripts/osx/build_cmdline.sh
# - name: Build frontend
# run: ./scripts/osx/build_frontend.sh
- name: Build
run: ./scripts/osx/ci_build_pg.sh
env:
DEVELOPER_DIR: "/Applications/Xcode_15.0.1.app/Contents/Developer"
SDKROOT: "/Applications/Xcode_15.0.1.app/Contents/DeveloperPlatforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
GA_CI_SECRET: ${{ secrets.CI_SECRET }}
CERTIFICATE_OSX_APPLICATION: ${{ secrets.CERTIFICATE_OSX_APPLICATION }}
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}
GA_APPLE_USERNAME: ${{ secrets.GA_APPLE_USERNAME }}
GA_APPLE_PASS: ${{ secrets.GA_APPLE_PASS }}
GA_NOTARIZE_PROVIDER: ${{ secrets.GA_NOTARIZE_PROVIDER }}
- name: List output directory
run: ls -lah /
- name: Update Release
if: github.repository == 'openframeworks/projectGenerator' && github.ref == 'refs/heads/master'
uses: IsaacShelton/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: nightly
release: nightly
prerelease: false
replace: false
files: ../openFrameworks/apps/projectGenerator/frontend/dist/projectGenerator-osx.zip