File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1717jobs :
1818 build :
1919 name : Build
20- runs-on : macos-latest
20+ runs-on : macos-15
2121 if : ${{ !contains(github.event.head_commit.message, '#build-') || contains(github.event.head_commit.message, '#build-ios') }}
2222 strategy :
2323 matrix :
2626 steps :
2727 - uses : actions/checkout@v3
2828 name : Checkout
29- - name : Select Xcode 15.3
30- run : sudo xcode-select -s /Applications/Xcode_15.3 .app/Contents/Developer
29+ - name : Select Xcode 16.2
30+ run : sudo xcode-select -s /Applications/Xcode_16.2 .app/Contents/Developer
3131 - name : Install rust version
3232 run : |
3333 rustup install ${{ matrix.rust }} --profile minimal
3737 - name : Configure and start iOS Simulator
3838 run : |
3939 set -e
40- IOSRUNTIME=com.apple.CoreSimulator. SimRuntime.iOS-17-4
41- IOSDEV=$(xcrun simctl list 2>&1 | grep com.apple.CoreSimulator.SimDeviceType.iPhone | grep -v ' SE ' | tail -n 1 | tr -d '()' | awk '{ print $NF }' )
40+ IOSRUNTIME=$(xcrun simctl list runtimes | grep SimRuntime.iOS | awk '{ print $NF }' | egrep 'iOS-[0-9]{2}-' | sort | tail -n 1)
41+ IOSDEV=$(xcrun simctl list 2>&1 | grep com.apple.CoreSimulator.SimDeviceType.iPhone | awk '{ print $NF } ' | tr -d '()' | egrep 'iPhone-[0-9]{2}$' | sort | tail -n 1 )
4242 DEVID=$(xcrun simctl create iphone-latest $IOSDEV $IOSRUNTIME)
4343 echo "==== using device $IOSDEV, $IOSRUNTIME ===="
4444 xcrun simctl boot $DEVID
You can’t perform that action at this time.
0 commit comments