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