-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (37 loc) · 1.27 KB
/
max-macos.yml
File metadata and controls
40 lines (37 loc) · 1.27 KB
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
name: Build MaxMSP Windows
on: [workflow_dispatch, workflow_call]
jobs:
# ==========================
# MaxMSP Build
# ==========================
# System: macOS
# Architecture: MaxMSP
max_build_macos:
runs-on: macos-latest
steps:
- name: Check out mdeGranular
uses: actions/checkout@v4
with:
path: 'mde'
submodules: 'recursive'
- name: Install system libraries
run: brew install autoconf automake libtool tree cmake
- name: Prepare mdeGranular~ XCode project via CMake
run: |
cd $GITHUB_WORKSPACE/mde/max/cmake
cmake -G Xcode -B ./build -S .
xcodebuild -list -project $GITHUB_WORKSPACE/mde/max/cmake/build/mdeGranular.xcodeproj
- name: Build mdeGranular
run: |
xcodebuild -project $GITHUB_WORKSPACE/mde/max/cmake/build/mdeGranular.xcodeproj -scheme mdeGranular -configuration Release build
- name: Post Build deployment
run: |
cd $GITHUB_WORKSPACE/mde/max/cmake/build/Release
mkdir temp
mv mdeGranular~.mxo/ temp/
mv temp/ mdeGranular~.mxo/
- name: Upload Binaries
uses: actions/upload-artifact@v3
with:
name: mdeGranular~.mxo
path: ${{ github.workspace }}/mde/max/cmake/build/Release/mdeGranular~.mxo