CI: macOS universal build
This commit is contained in:
parent
6209e768c1
commit
0662d30ad0
1 changed files with 6 additions and 0 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue