Cross-compile intel mac and bump version from 13 to 14

This commit is contained in:
RickyRister 2025-09-22 01:54:04 -07:00
parent 3501ee9a9d
commit bbef20fd8f
3 changed files with 9 additions and 4 deletions

View file

@ -132,6 +132,11 @@ function ccachestatsverbose() {
# Compile
if [[ $RUNNER_OS == macOS ]]; then
# enable cross-compiling for intel mac
if [[ "$ARCHTYPE" == 'Intel' ]]; then
flags+=('-DCMAKE_OSX_ARCHITECTURES="x86_64"')
fi
echo "::group::Signing Certificate"
if [[ -n "$MACOS_CERTIFICATE_NAME" ]]; then
echo $MACOS_CERTIFICATE | base64 --decode > certificate.p12