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

View file

@ -14,8 +14,7 @@ Available pre-compiled binaries for installation:
<b>macOS</b>
<kbd>macOS 15+</kbd> <sub><i>Sequoia</i></sub> <sub>Apple M</sub>
<kbd>macOS 14+</kbd> <sub><i>Sonoma</i></sub> <sub>Apple M</sub>
<kbd>macOS 13+</kbd> <sub><i>Ventura</i></sub> <sub>Intel</sub>
<kbd>macOS 14+</kbd> <sub><i>Sonoma</i></sub> <sub>Apple M and Intel</sub>
<b>Linux</b>
<kbd>Ubuntu 24.04 LTS</kbd> <sub><i>Noble Numbat</i></sub>

View file

@ -230,9 +230,9 @@ jobs:
fail-fast: false
matrix:
include:
- target: 13
- target: 14
soc: Intel
os: macos-13
os: macos-14
xcode: "14.3.1"
type: Release
make_package: 1
@ -297,6 +297,7 @@ jobs:
id: build
env:
BUILDTYPE: '${{matrix.type}}'
ARCHTYPE: '${{matrix.soc}}'
MAKE_PACKAGE: '${{matrix.make_package}}'
PACKAGE_SUFFIX: '-macOS${{matrix.target}}_${{matrix.soc}}'
MACOS_CERTIFICATE: ${{ secrets.PROD_MACOS_CERTIFICATE }}