Skip to content

Commit bfbf2ca

Browse files
committed
Update MacOS runner used for cross compilation build in Github Actions after deprecating macos-11
1 parent e05c09e commit bfbf2ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cross-compile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
while git pull --rebase && ! git push; do sleep 5; done
135135
136136
macos:
137-
runs-on: macos-11
137+
runs-on: macos-latest
138138
needs: create-branch
139139
strategy:
140140
matrix:
@@ -163,12 +163,12 @@ jobs:
163163
if: ${{ matrix.sdk-version == 'MacOSX10.9.sdk' }}
164164
run: |
165165
wget -qO- https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.9.sdk.tar.xz \
166-
| tar -xjv -C $XCODE_12_DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/SDKs
166+
| tar -xjv -C $XCODE_16_DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/SDKs
167167
168168
- name: Set SDK version
169169
run: |
170170
export MACOSX_DEPLOYMENT_TARGET=${{ matrix.macos-deployment-target }}
171-
export SDKROOT=$XCODE_12_DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/SDKs/${{ matrix.sdk-version }}
171+
export SDKROOT=$XCODE_16_DEVELOPER_DIR/Platforms/MacOSX.platform/Developer/SDKs/${{ matrix.sdk-version }}
172172
export CMAKE_OSX_SYSROOT=$SDKROOT
173173
- name: Build with Maven
174174
run: mvn -B clean install -P ${{ matrix.profile }},update-resources-precompiled

0 commit comments

Comments
 (0)