|
|
@@ -3,7 +3,7 @@ name: build |
|
|
on: [push, pull_request] |
|
|
on: [push, pull_request] |
|
|
|
|
|
|
|
|
env: |
|
|
env: |
|
|
CACHE_VERSION: 10 |
|
|
|
|
|
|
|
|
CACHE_VERSION: 11 |
|
|
CARDINAL_UNDER_WINE: 1 |
|
|
CARDINAL_UNDER_WINE: 1 |
|
|
CIBUILD: true |
|
|
CIBUILD: true |
|
|
DEBIAN_FRONTEND: noninteractive |
|
|
DEBIAN_FRONTEND: noninteractive |
|
|
@@ -143,7 +143,7 @@ jobs: |
|
|
# multiple jobs for building carla, deps and plugins |
|
|
# multiple jobs for building carla, deps and plugins |
|
|
make DEBUG=true carla deps dgl plugins resources -j $(nproc) |
|
|
make DEBUG=true carla deps dgl plugins resources -j $(nproc) |
|
|
# single job for final build stage, otherwise we might get killed due to OOM |
|
|
# single job for final build stage, otherwise we might get killed due to OOM |
|
|
make DEBUG=true HAVE_PULSEAUDIO=false clap lv2 vst2 vst3 -j 1 |
|
|
|
|
|
|
|
|
make DEBUG=true HAVE_PULSEAUDIO=false jack -j 1 |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
@@ -171,6 +171,7 @@ jobs: |
|
|
run: | |
|
|
run: | |
|
|
if [ "${{ matrix.debug }}" -eq 1 ]; then |
|
|
if [ "${{ matrix.debug }}" -eq 1 ]; then |
|
|
echo "TARGET_SUFFIX=-debug" >> $GITHUB_ENV |
|
|
echo "TARGET_SUFFIX=-debug" >> $GITHUB_ENV |
|
|
|
|
|
echo "MAKE_ARGS='DEBUG=true jack au'" >> $GITHUB_ENV |
|
|
echo "PAWPAW_DEBUG=1" >> $GITHUB_ENV |
|
|
echo "PAWPAW_DEBUG=1" >> $GITHUB_ENV |
|
|
fi |
|
|
fi |
|
|
- name: Set up cache |
|
|
- name: Set up cache |
|
|
@@ -207,7 +208,7 @@ jobs: |
|
|
export PATH="/usr/local/opt/ccache/libexec:${PATH}" |
|
|
export PATH="/usr/local/opt/ccache/libexec:${PATH}" |
|
|
source deps/PawPaw/local.env macos-${{ matrix.target }} |
|
|
source deps/PawPaw/local.env macos-${{ matrix.target }} |
|
|
make features |
|
|
make features |
|
|
make NOOPT=true -j $(sysctl -n hw.logicalcpu) |
|
|
|
|
|
|
|
|
make NOOPT=true ${MAKE_ARGS} -j $(sysctl -n hw.logicalcpu) |
|
|
- name: Build macOS (packaging) |
|
|
- name: Build macOS (packaging) |
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
if: steps.cache.outputs.cache-hit == 'true' |
|
|
shell: bash |
|
|
shell: bash |
|
|
|