Skip to content

Commit

Permalink
minimum macos-10.15 for CI
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Dec 30, 2023
1 parent f1c2bb1 commit 29ac318
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 35 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: build
on: [push, pull_request]

env:
CACHE_VERSION_LINUX: 10
CACHE_VERSION_MACOS: 10
CACHE_VERSION_WIN64: 10
CACHE_VERSION_LINUX: 11
CACHE_VERSION_MACOS: 11
CACHE_VERSION_WIN64: 11
DEBIAN_FRONTEND: noninteractive
PAWPAW_SKIP_LTO: 1
PAWPAW_SKIP_TESTS: 1
Expand Down Expand Up @@ -102,11 +102,11 @@ jobs:
matrix:
include:
- os: macos-11
target: macos
target: macos-10.15
- os: macos-11
target: macos-universal-10.15
- os: macos-12
target: macos
target: macos-10.15
- os: macos-12
target: macos-universal-10.15
runs-on: ${{ matrix.os }}
Expand Down
29 changes: 4 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ VERSION = $(shell cat VERSION)
CC ?= gcc
TARGET_MACHINE := $(shell $(CC) -dumpmachine)

ifeq ($(PAWPAW_TARGET),macos)
ifeq ($(PAWPAW_TARGET),macos-10.15)
MACOS = true
else ifeq ($(PAWPAW_TARGET),macos-universal-10.15)
MACOS = true
Expand All @@ -24,7 +24,7 @@ PAWPAW_TARGET = linux-$(shell uname -m)
else ifneq (,$(findstring apple,$(TARGET_MACHINE)))
MACOS = true
ifeq ($(shell uname -m),x86_64)
PAWPAW_TARGET = macos
PAWPAW_TARGET = macos-10.15
else
PAWPAW_TARGET = macos-universal-10.15
endif
Expand Down Expand Up @@ -112,9 +112,7 @@ TARGETS += build/mod-app.app/Contents/PlugIns/iconengines/libqsvgicon.dylib
TARGETS += build/mod-app.app/Contents/PlugIns/imageformats/libqsvg.dylib
TARGETS += build/mod-app.app/Contents/PlugIns/LV2
TARGETS += build/mod-app.app/Contents/PlugIns/platforms/libqcocoa.dylib
ifneq ($(PAWPAW_TARGET),macos)
TARGETS += build/mod-app.app/Contents/PlugIns/styles/libqmacstyle.dylib
endif
TARGETS += build/mod-app.app/Contents/Resources/default.pedalboard
TARGETS += build/mod-app.app/Contents/Resources/html
TARGETS += build/mod-app.app/Contents/Resources/mod-hardware-descriptor.json
Expand Down Expand Up @@ -167,6 +165,7 @@ endif

# List of plugin projects to build
PLUGINS = abgate
PLUGINS += aidadsp-lv2
PLUGINS += artyfx
PLUGINS += bolliedelay
PLUGINS += caps-lv2
Expand All @@ -188,8 +187,8 @@ PLUGINS += mod-pitchshifter
PLUGINS += mod-utilities
PLUGINS += modmeter
PLUGINS += modspectre
# crashing linux https://github.com/moddevices/mod-app/actions/runs/6721112608/job/18266110663
PLUGINS += neuralrecord
PLUGINS += neural-amp-modeler-lv2
PLUGINS += notes-lv2
PLUGINS += pitchtracking-series
# crashing linux https://github.com/moddevices/mod-app/actions/runs/6718888228/job/18259448918
Expand All @@ -210,12 +209,6 @@ PLUGINS += x42-tinygain
PLUGINS += x42-xfade
PLUGINS += zam-plugins

# relies on APIs only available in macOS >= 10.15
ifneq ($(PAWPAW_TARGET),macos)
PLUGINS += aidadsp-lv2
PLUGINS += neural-amp-modeler-lv2
endif

# issues with glib static build on non-universal builds (fails to link to -liconv)
ifneq ($(PAWPAW_TARGET),macos)
PLUGINS += fluidplug
Expand Down Expand Up @@ -283,20 +276,6 @@ version:

# ---------------------------------------------------------------------------------------------------------------------

macos:
$(MAKE) PAWPAW_TARGET=macos-universal-10.15

macos-app:
./utils/run.sh macos-universal-10.15 $(MAKE) -C src/systray

macos-bootstrap:
./src/PawPaw/bootstrap-mod.sh macos-universal-10.15

macos-plugins:
$(MAKE) PAWPAW_TARGET=macos-universal-10.15 plugins

# ---------------------------------------------------------------------------------------------------------------------

wasm:
$(MAKE) PAWPAW_TARGET=wasm

Expand Down
2 changes: 1 addition & 1 deletion utils/debug/jackd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ -e jackd.exe ]; then
PATH_SEP=';'
elif [ -e mod-app.app ]; then
if [ "$(uname -m)" = "x86_64" ] && [ x"${1}" != x"macos-universal-10.15" ]; then
source ../src/PawPaw/local.env macos
source ../src/PawPaw/local.env macos-10.15
else
source ../src/PawPaw/local.env macos-universal-10.15
fi
Expand Down
2 changes: 1 addition & 1 deletion utils/debug/mod-ui
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ -e mod-ui.exe ]; then
PATH_SEP=';'
elif [ -e mod-app.app ]; then
if [ "$(uname -m)" = "x86_64" ] && [ x"${1}" != x"macos-universal-10.15" ]; then
source ../src/PawPaw/local.env macos
source ../src/PawPaw/local.env macos-10.15
else
source ../src/PawPaw/local.env macos-universal-10.15
fi
Expand Down
2 changes: 1 addition & 1 deletion utils/macos/macos-dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ ! -d build ]; then
fi

if [ "$(uname -m)" = "x86_64" ] && [ x"${1}" != x"macos-universal-10.15" ]; then
PAWPAW_PREFIX="${HOME}/PawPawBuilds/targets/macos"
PAWPAW_PREFIX="${HOME}/PawPawBuilds/targets/macos-10.15"
else
PAWPAW_PREFIX="${HOME}/PawPawBuilds/targets/macos-universal-10.15"
fi
Expand Down
2 changes: 1 addition & 1 deletion utils/plugin-builder/validate-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ -e mod-ui.exe ]; then
OS_SEP="\\"
elif [ -e mod-app.app ]; then
if [ "$(uname -m)" = "x86_64" ] && [ x"${1}" != x"macos-universal-10.15" ]; then
source ../src/PawPaw/local.env macos
source ../src/PawPaw/local.env macos-10.15
else
source ../src/PawPaw/local.env macos-universal-10.15
fi
Expand Down

0 comments on commit 29ac318

Please sign in to comment.