Skip to content

Commit 7cbf909

Browse files
committed
Update macos runner
1 parent b3ba2c1 commit 7cbf909

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- os: ubuntu-22.04
6161
env:
6262
TARGET: "s390x-unknown-linux-gnu"
63-
- os: macOS-13
63+
- os: macos-15-intel
6464
env:
6565
TARGET: "x86_64-apple-darwin"
6666
- os: ubuntu-22.04
@@ -89,13 +89,17 @@ jobs:
8989
TARGET: "${{ matrix.env.TARGET }}"
9090
- name: Setup macos build tooling
9191
run: |
92-
sudo xcode-select -s /Applications/Xcode_15.2.0.app/Contents/Developer/
92+
ls -la /Applications/
93+
sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer/
94+
xcodebuild -showsdks
9395
# Set SDK environment variables
94-
echo "SDKROOT=$(xcrun -sdk macosx14.2 --show-sdk-path)" >> $GITHUB_ENV
95-
MACOSX_DEPLOYMENT_TARGET="$(xcrun -sdk macosx14.2 --show-sdk-platform-version)"
96+
echo "SDKROOT=$(xcrun -sdk ${{ env.TARGET_SDK }} --show-sdk-path)" >> $GITHUB_ENV
97+
MACOSX_DEPLOYMENT_TARGET="$(xcrun -sdk ${{ env.TARGET_SDK }} --show-sdk-platform-version)"
9698
if [[ -n "${MACOSX_DEPLOYMENT_TARGET}" ]]; then
9799
echo "MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET}" >> $GITHUB_ENV
98100
fi
101+
env:
102+
TARGET_SDK: macosx15.1
99103
if: startswith(matrix.os, 'macos')
100104
- name: Setup Windows Bazelrc
101105
run: |

0 commit comments

Comments
 (0)