1313 os : ['ubuntu-24.04', 'ubuntu-22.04', 'macos-13', 'macos-15']
1414 # swift-version: ['6.0', '6.1']
1515 swift-version : ['6.0', '6.1', '6.1.1', 'nightly-6.2']
16+ ndk-version : ['27', '28']
1617 steps :
1718 - name : Checkout Action
1819 uses : actions/checkout@v4
3435 with :
3536 package-path : jpsim/Yams
3637 swift-version : ${{ matrix.swift-version }}
38+ ndk-version : ${{ matrix.ndk-version }}
3739 run-tests : ${{ matrix.os != 'macos-15' }} # no tests on macOS ARM
3840 copy-files : Tests
3941 test-env : TEST_WORKSPACE=1
4850 with :
4951 package-path : skiptools/swift-android-native
5052 swift-version : ${{ matrix.swift-version }}
53+ ndk-version : ${{ matrix.ndk-version }}
5154 run-tests : ${{ matrix.os != 'macos-15' }} # no tests on macOS ARM
5255
5356 toolchain-setup :
@@ -57,15 +60,12 @@ jobs:
5760 matrix :
5861 os : ['ubuntu-24.04', 'ubuntu-22.04', 'macos-13', 'macos-15']
5962 swift-version : ['6.0', '6.1', 'nightly-6.2']
63+ ndk-version : ['27', '28']
6064 steps :
6165 - name : Checkout Action
6266 uses : actions/checkout@v4
6367 with :
6468 path : swift-android-action
65- - name : Setup NDK
66- if : ${{ matrix.os == 'macos-13' }} # macOS-13 defaults to NDK 16, NDK 17+ needed
67- run : |
68- echo "ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk/27.2.12479018" >> $GITHUB_ENV
6969 - name : Setup Toolchain
7070 id : setup-toolchain
7171 uses : ./swift-android-action/
7474 # just set up the toolchain and don't build anything
7575 build-package : false
7676 swift-version : ${{ matrix.swift-version }}
77+ ndk-version : ${{ matrix.ndk-version }}
7778 - name : Checkout apple/swift-numerics
7879 uses : actions/checkout@v4
7980 with :
0 commit comments