CI: macOS universal build

This commit is contained in:
redtide 2023-08-26 19:55:31 +02:00
parent 6209e768c1
commit 0662d30ad0
No known key found for this signature in database

View file

@ -155,6 +155,11 @@ jobs:
${options[@]}
-D SFIZZ_USE_SYSTEM_ABSEIL=ON
)
else
options=(
${options[@]}
-D CMAKE_OSX_ARCHITECTURES="arm64;x86_64"
)
fi
cmake "${options[@]}"
echo "-- runner.workspace: ${{ runner.workspace }}"
@ -168,6 +173,7 @@ jobs:
--verbose
)
cmake "${options[@]}"
lipo -i ./build/sfizz.component/Contents/MacOS/sfizz
- name: Validate AU
working-directory: ${{ github.workspace }}/build
# Force a rescan after copy (thank you @PythonBlue), see