@@ -3,7 +3,7 @@ name: build
3
3
on : [push, pull_request]
4
4
5
5
env :
6
- CACHE_VERSION : 10
6
+ CACHE_VERSION : 11
7
7
CARDINAL_UNDER_WINE : 1
8
8
CIBUILD : true
9
9
DEBIAN_FRONTEND : noninteractive
@@ -143,7 +143,7 @@ jobs:
143
143
# multiple jobs for building carla, deps and plugins
144
144
make DEBUG=true carla deps dgl plugins resources -j $(nproc)
145
145
# single job for final build stage, otherwise we might get killed due to OOM
146
- make DEBUG=true HAVE_PULSEAUDIO=false clap lv2 vst2 vst3 -j 1
146
+ make DEBUG=true HAVE_PULSEAUDIO=false jack -j 1
147
147
- name : Set sha8
148
148
id : slug
149
149
run : echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV
@@ -157,22 +157,11 @@ jobs:
157
157
*.tar.xz
158
158
159
159
macos :
160
- strategy :
161
- matrix :
162
- debug : [0, 1]
163
- target : [universal-10.15]
164
- runs-on : macos-12
160
+ runs-on : macos-13
165
161
steps :
166
162
- uses : actions/checkout@v4
167
163
with :
168
164
submodules : recursive
169
- - name : Set debug or release
170
- shell : bash
171
- run : |
172
- if [ "${{ matrix.debug }}" -eq 1 ]; then
173
- echo "TARGET_SUFFIX=-debug" >> $GITHUB_ENV
174
- echo "PAWPAW_DEBUG=1" >> $GITHUB_ENV
175
- fi
176
165
- name : Set up cache
177
166
id : cache
178
167
uses : actions/cache@v4
@@ -187,32 +176,32 @@ jobs:
187
176
src/Rack/dep/libarchive-3.4.3
188
177
src/Rack/dep/libsamplerate-0.1.9
189
178
src/Rack/dep/zstd-1.4.5
190
- key : macos-${{ matrix.target }}${{ env.TARGET_SUFFIX }} -v${{ env.CACHE_VERSION }}
179
+ key : macos-universal -v${{ env.CACHE_VERSION }}
191
180
- name : Setup dependencies
192
181
run : |
193
- ./deps/PawPaw/.github/workflows/bootstrap-deps.sh macos-${{ matrix.target }}
182
+ ./deps/PawPaw/.github/workflows/bootstrap-deps.sh macos-universal-10.15
194
183
- name : Build extra dependencies
195
184
run : |
196
185
export PATH="/usr/local/opt/ccache/libexec:${PATH}"
197
- ./deps/PawPaw/bootstrap-cardinal.sh macos-${{ matrix.target }} && ./deps/PawPaw/.cleanup.sh macos-${{ matrix.target }}
186
+ ./deps/PawPaw/bootstrap-cardinal.sh macos-universal-10.15 && ./deps/PawPaw/.cleanup.sh macos-universal-10.15
198
187
- name : Set up ccache
199
188
if : steps.cache.outputs.cache-hit == 'true'
200
189
uses : hendrikmuhs/ccache-action@v1.2
201
190
with :
202
- key : ccache-macos-${{ matrix.target }}${{ env.TARGET_SUFFIX }} -v${{ env.CACHE_VERSION }}
191
+ key : ccache-macos-universal -v${{ env.CACHE_VERSION }}
203
192
- name : Build macOS (base)
204
193
if : steps.cache.outputs.cache-hit == 'true'
205
194
shell : bash
206
195
run : |
207
196
export PATH="/usr/local/opt/ccache/libexec:${PATH}"
208
- source deps/PawPaw/local.env macos-${{ matrix.target }}
197
+ source deps/PawPaw/local.env macos-universal-10.15
209
198
make features
210
- make NOOPT=true -j $(sysctl -n hw.logicalcpu)
199
+ make NOOPT=true ${MAKE_ARGS} -j $(sysctl -n hw.logicalcpu)
211
200
- name : Build macOS (packaging)
212
201
if : steps.cache.outputs.cache-hit == 'true'
213
202
shell : bash
214
203
run : |
215
- source deps/PawPaw/local.env macos-${{ matrix.target }}
204
+ source deps/PawPaw/local.env macos-universal-10.15
216
205
./utils/create-macos-installer.sh
217
206
- name : Set sha8 (non-release)
218
207
if : startsWith(github.ref, 'refs/tags/') != true
@@ -223,10 +212,10 @@ jobs:
223
212
- name : Rename macOS bundle
224
213
if : steps.cache.outputs.cache-hit == 'true'
225
214
run : |
226
- mv ${{ github.event.repository.name }}-macOS.pkg ${{ github.event.repository.name }}-macOS-${{ matrix.target }}${{ env.TARGET_SUFFIX }} -${{ github.event.pull_request.number || env.SHA8 }}.pkg
215
+ mv ${{ github.event.repository.name }}-macOS.pkg ${{ github.event.repository.name }}-macOS-universal -${{ github.event.pull_request.number || env.SHA8 }}.pkg
227
216
- uses : actions/upload-artifact@v4
228
217
with :
229
- name : ${{ github.event.repository.name }}-macOS-${{ matrix.target }}${{ env.TARGET_SUFFIX }} -${{ github.event.pull_request.number || env.SHA8 }}
218
+ name : ${{ github.event.repository.name }}-macOS-universal -${{ github.event.pull_request.number || env.SHA8 }}
230
219
path : |
231
220
${{ github.event.repository.name }}-*.pkg
232
221
- uses : softprops/action-gh-release@v1
0 commit comments