@@ -109,11 +109,17 @@ jobs:
109109 target : testapps-with-numpy
110110 - name : webview
111111 target : testapps-webview
112+ include :
113+ - runs_on : macos-latest
114+ ndk_version : ' 23b'
115+ - runs_on : apple-silicon-m1
116+ ndk_version : ' 24'
112117 env :
113118 ANDROID_HOME : ${HOME}/.android
114119 ANDROID_SDK_ROOT : ${HOME}/.android/android-sdk
115120 ANDROID_SDK_HOME : ${HOME}/.android/android-sdk
116121 ANDROID_NDK_HOME : ${HOME}/.android/android-ndk
122+ ANDROID_NDK_VERSION : ${{ matrix.ndk_version }}
117123 steps :
118124 - name : Checkout python-for-android
119125 uses : actions/checkout@v2
@@ -127,7 +133,7 @@ jobs:
127133 source ci/osx_ci.sh
128134 arm64_set_path_and_python_version 3.9.7
129135 python3 pythonforandroid/prerequisites.py
130- - name : Install dependencies
136+ - name : Install dependencies (Legacy)
131137 run : |
132138 source ci/osx_ci.sh
133139 arm64_set_path_and_python_version 3.9.7
@@ -241,11 +247,17 @@ jobs:
241247 target : testapps-with-numpy-aab
242248 - name : webview
243249 target : testapps-webview-aab
250+ include :
251+ - runs_on : macos-latest
252+ ndk_version : ' 23b'
253+ - runs_on : apple-silicon-m1
254+ ndk_version : ' 24'
244255 env :
245256 ANDROID_HOME : ${HOME}/.android
246257 ANDROID_SDK_ROOT : ${HOME}/.android/android-sdk
247258 ANDROID_SDK_HOME : ${HOME}/.android/android-sdk
248259 ANDROID_NDK_HOME : ${HOME}/.android/android-ndk
260+ ANDROID_NDK_VERSION : ${{ matrix.ndk_version }}
249261 steps :
250262 - name : Checkout python-for-android
251263 uses : actions/checkout@v2
@@ -259,7 +271,7 @@ jobs:
259271 source ci/osx_ci.sh
260272 arm64_set_path_and_python_version 3.9.7
261273 python3 pythonforandroid/prerequisites.py
262- - name : Install dependencies
274+ - name : Install dependencies (Legacy)
263275 run : |
264276 source ci/osx_ci.sh
265277 arm64_set_path_and_python_version 3.9.7
@@ -318,12 +330,18 @@ jobs:
318330 matrix :
319331 android_arch : ["arm64-v8a", "armeabi-v7a", "x86_64", "x86"]
320332 runs_on : [macos-latest, apple-silicon-m1]
333+ include :
334+ - runs_on : macos-latest
335+ ndk_version : ' 23b'
336+ - runs_on : apple-silicon-m1
337+ ndk_version : ' 24'
321338 env :
322339 ANDROID_HOME : ${HOME}/.android
323340 ANDROID_SDK_ROOT : ${HOME}/.android/android-sdk
324341 ANDROID_SDK_HOME : ${HOME}/.android/android-sdk
325342 ANDROID_NDK_HOME : ${HOME}/.android/android-ndk
326343 REBUILD_UPDATED_RECIPES_EXTRA_ARGS : --arch=${{ matrix.android_arch }}
344+ ANDROID_NDK_VERSION : ${{ matrix.ndk_version }}
327345 steps :
328346 - name : Checkout python-for-android
329347 uses : actions/checkout@v2
@@ -339,7 +357,7 @@ jobs:
339357 source ci/osx_ci.sh
340358 arm64_set_path_and_python_version 3.9.7
341359 python3 pythonforandroid/prerequisites.py
342- - name : Install dependencies
360+ - name : Install dependencies (Legacy)
343361 run : |
344362 source ci/osx_ci.sh
345363 arm64_set_path_and_python_version 3.9.7
0 commit comments