-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (21 loc) · 934 Bytes
/
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
name: macOS Monterey
on: [push, pull_request]
jobs:
monterey:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Setup Qt
run: curl -L https://github.com/rodlie/NatronPluginManager/releases/download/continuous/qtbase-5.15-static-macos.tar.bz2 --output qt.tar.bz2 && sudo tar xf qt.tar.bz2 -C /opt
- name: Setup libzip
run: curl -L https://github.com/rodlie/NatronPluginManager/releases/download/continuous/libzip-HighSierra.tar.gz --output libzip.tar.gz && sudo tar xf libzip.tar.gz -C /opt
- name: Setup local
run: sudo mkdir -p /opt/local/lib && sudo cp -a /opt/libzip/lib/* /opt/local/lib/
- name: Build
run: CMAKE=cmake sh share/macos.sh
- name: Artifact
run: sudo cp build/NatronPluginManager.dmg /opt/
- uses: actions/upload-artifact@v2
with:
name: NatronPluginManager-${{github.sha}}-macOS
path: /opt/NatronPluginManager.dmg