File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 6363 name : mac
6464 needs : modify-plugin-version
6565 runs-on : macos-latest
66+ strategy :
67+ fail-fast : false
68+ matrix :
69+ platform : [x64, arm64]
6670 steps :
6771 - uses : actions/checkout@v3
6872 with :
@@ -75,18 +79,21 @@ jobs:
7579 - name : Get Rack-SDK
7680 run : |
7781 pushd $HOME
78- curl -o Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-mac-x64 .zip
82+ curl -o Rack-SDK.zip https://vcvrack.com/downloads/Rack-SDK-${{ env.rack-sdk-version }}-mac-${{ matrix.platform }} .zip
7983 unzip Rack-SDK.zip
8084 - name : Build plugin
8185 run : |
86+ CROSS_COMPILE_TARGET_x64=x86_64-apple-darwin
87+ CROSS_COMPILE_TARGET_arm64=arm64-apple-darwin
8288 export RACK_DIR=$HOME/Rack-SDK
83- make -j dep
84- make -j dist
89+ export CROSS_COMPILE=$CROSS_COMPILE_TARGET_${{ matrix.platform }}
90+ make dep
91+ make dist
8592 - name : Upload artifact
8693 uses : actions/upload-artifact@v3
8794 with :
88- path : dist
89- name : mac
95+ path : dist/*.vcvplugin
96+ name : mac-${{ matrix.platform }}
9097
9198 publish :
9299 name : Publish plugin
You can’t perform that action at this time.
0 commit comments