Try the macOS universal build

This commit is contained in:
Jean Pierre Cimalando 2021-03-23 13:40:56 +01:00
parent b0e4fb316a
commit 15628e1329
2 changed files with 5 additions and 3 deletions

View file

@ -3,8 +3,8 @@ configuration: Release
environment:
matrix:
- job_name: macOS Mojave
appveyor_build_worker_image: macos-mojave
- job_name: macOS
appveyor_build_worker_image: macos
INSTALL_DIR: sfizz-$(APPVEYOR_REPO_TAG_NAME)-macos
- job_name: Windows x86
@ -31,11 +31,12 @@ environment:
for:
- matrix:
only:
- job_name: macOS Mojave
- job_name: macOS
init:
- system_profiler SPSoftwareDataType
- cmake --version
- gcc -v
- xcodebuild -version
install:
- chmod +x ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/install.sh
- ${APPVEYOR_BUILD_FOLDER}/scripts/appveyor/install.sh

View file

@ -4,6 +4,7 @@ set -ex
git submodule update --init --recursive
mkdir -p build/${INSTALL_DIR} && cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
-DSFIZZ_VST=ON \
-DSFIZZ_AU=ON \
-DSFIZZ_RENDER=OFF \