ci(release): run universal_macos build on M1 (#27505)

Run the release workflow on macos-14 to use faster M1 runners.

Lock the deployment target to the oldest supported version (11.0,
due to libuv support) instead of relying on the host OS version.
This commit is contained in:
Christian Clason 2024-02-17 13:35:47 +01:00 committed by GitHub
parent bf830a53f5
commit 01c15a30c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash -e #!/bin/bash -e
MACOSX_DEPLOYMENT_TARGET="$(sw_vers -productVersion | cut -f1 -d.)" MACOSX_DEPLOYMENT_TARGET=11.0
export MACOSX_DEPLOYMENT_TARGET export MACOSX_DEPLOYMENT_TARGET
cmake -S cmake.deps -B .deps -G Ninja \ cmake -S cmake.deps -B .deps -G Ninja \
-D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \ -D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \

View File

@ -60,7 +60,7 @@ jobs:
printf 'END\n' >> $GITHUB_OUTPUT printf 'END\n' >> $GITHUB_OUTPUT
macOS: macOS:
runs-on: macos-12 runs-on: macos-14
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with: