@@ -53,13 +53,18 @@ jobs:
5353 flag-name : run-${{ matrix.os }}-${{ matrix.python-version }}
5454
5555 ubuntu_build_apk :
56- name : Unit test apk [ ${{ matrix.runs_on }} ]
56+ name : Unit test apk [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
5757 needs : [flake8]
5858 runs-on : ${{ matrix.runs_on }}
59+ continue-on-error : true
5960 strategy :
6061 matrix :
61- include :
62- - runs_on : ubuntu-latest
62+ runs_on : [ubuntu-latest]
63+ bootstrap :
64+ - name : sdl2
65+ target : testapps-with-numpy
66+ - name : webview
67+ target : testapps-webview
6368 steps :
6469 - name : Checkout python-for-android
6570 uses : actions/checkout@v2
@@ -78,26 +83,33 @@ jobs:
7883 - name : Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
7984 run : |
8085 mkdir -p apks
81- make docker/run/make/with-artifact/apk/testapps-with-numpy
82- - name : Rename artifact to include the build platform name
86+ make docker/run/make/with-artifact/apk/${{ matrix.bootstrap.target }}
87+ - name : Rename apk artifact to include the build platform name
8388 run : |
84- mv apks/${{ env.APK_ARTIFACT_FILENAME }} apks/${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
85- - uses : actions/upload-artifact@v1
89+ mv apks/${{ env.APK_ARTIFACT_FILENAME }} apks/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
90+ - name : Upload apk artifact
91+ uses : actions/upload-artifact@v1
8692 with :
87- name : ${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
88- path : apks
93+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
94+ path : apks/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
8995
9096 macos_build_apk :
91- name : Unit test apk [ ${{ matrix.runs_on }} ]
97+ name : Unit test apk [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
9298 needs : [flake8]
9399 defaults :
94100 run :
95101 shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
96102 runs-on : ${{ matrix.runs_on }}
103+ continue-on-error : true
97104 strategy :
98105 matrix :
106+ runs_on : [macos-latest, apple-silicon-m1]
107+ bootstrap :
108+ - name : sdl2
109+ target : testapps-with-numpy
110+ - name : webview
111+ target : testapps-webview
99112 include :
100- - runs_on : macos-latest
101113 - runs_on : apple-silicon-m1
102114 run_wrapper : arch -arm64 bash --noprofile --norc -eo pipefail {0}
103115 env :
@@ -127,23 +139,29 @@ jobs:
127139 run : |
128140 source ci/osx_ci.sh
129141 arm64_set_path_and_python_version 3.9.7
130- make testapps-with-numpy
131- - name : Rename artifact to include the build platform name
142+ make ${{ matrix.bootstrap.target }}
143+ - name : Rename apk artifact to include the build platform name
132144 run : |
133- mv testapps/on_device_unit_tests/${{ env.APK_ARTIFACT_FILENAME }} ${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
134- - uses : actions/upload-artifact@v1
145+ mv testapps/on_device_unit_tests/${{ env.APK_ARTIFACT_FILENAME }} ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
146+ - name : Upload apk artifact
147+ uses : actions/upload-artifact@v1
135148 with :
136- name : ${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
137- path : ${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
149+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
150+ path : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
138151
139152 ubuntu_build_aab :
140153 name : Unit test aab [ ${{ matrix.runs_on }} ]
141154 needs : [flake8]
142155 runs-on : ${{ matrix.runs_on }}
156+ continue-on-error : true
143157 strategy :
144158 matrix :
145- include :
146- - runs_on : ubuntu-latest
159+ runs_on : [ubuntu-latest]
160+ bootstrap :
161+ - name : sdl2
162+ target : testapps-with-numpy-aab
163+ - name : webview
164+ target : testapps-webview-aab
147165 steps :
148166 - name : Checkout python-for-android
149167 uses : actions/checkout@v2
@@ -162,26 +180,33 @@ jobs:
162180 - name : Build Android App Bundle Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
163181 run : |
164182 mkdir -p aabs
165- make docker/run/make/with-artifact/aab/testapps-with-numpy-aab
183+ make docker/run/make/with-artifact/aab/${{ matrix.bootstrap.target }}
166184 - name : Rename artifact to include the build platform name
167185 run : |
168- mv aabs/${{ env.AAB_ARTIFACT_FILENAME }} aabs/${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
169- - uses : actions/upload-artifact@v1
186+ mv aabs/${{ env.AAB_ARTIFACT_FILENAME }} aabs/${{ matrix.runs_on }}-${{ matrix.bootstrap.name}}-${{ env.AAB_ARTIFACT_FILENAME }}
187+ - name : Upload apk artifact
188+ uses : actions/upload-artifact@v1
170189 with :
171- name : ${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
172- path : aabs
190+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name}}-${{ env.AAB_ARTIFACT_FILENAME }}
191+ path : aabs/${{ matrix.runs_on }}-${{ matrix.bootstrap.name}}-${{ env.AAB_ARTIFACT_FILENAME }}
173192
174193 macos_build_aab :
175- name : Unit test aab [ ${{ matrix.runs_on }} ]
194+ name : Unit test aab [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
176195 needs : [flake8]
177196 defaults :
178197 run :
179198 shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
180199 runs-on : ${{ matrix.runs_on }}
200+ continue-on-error : true
181201 strategy :
182202 matrix :
203+ runs_on : [macos-latest, apple-silicon-m1]
204+ bootstrap :
205+ - name : sdl2
206+ target : testapps-with-numpy-aab
207+ - name : webview
208+ target : testapps-webview-aab
183209 include :
184- - runs_on : macos-latest
185210 - runs_on : apple-silicon-m1
186211 run_wrapper : arch -arm64 bash --noprofile --norc -eo pipefail {0}
187212 env :
@@ -207,18 +232,19 @@ jobs:
207232 source ci/osx_ci.sh
208233 arm64_set_path_and_python_version 3.9.7
209234 make --file ci/makefiles/osx.mk
210- - name : Build multi-arch aab Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
235+ - name : Build multi-arch sdl2 aab Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
211236 run : |
212237 source ci/osx_ci.sh
213238 arm64_set_path_and_python_version 3.9.7
214- make testapps-with-numpy-aab
215- - name : Rename artifact to include the build platform name
239+ make ${{ matrix.bootstrap.target }}
240+ - name : Rename sdl2 artifact to include the build platform name
216241 run : |
217- mv testapps/on_device_unit_tests/${{ env.AAB_ARTIFACT_FILENAME }} ${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
218- - uses : actions/upload-artifact@v1
242+ mv testapps/on_device_unit_tests/${{ env.AAB_ARTIFACT_FILENAME }} ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}
243+ - name : Upload sdl2 apk artifact
244+ uses : actions/upload-artifact@v1
219245 with :
220- name : ${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
221- path : ${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
246+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}
247+ path : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}
222248
223249 ubuntu_rebuild_updated_recipes :
224250 name : Test updated recipes for arch ${{ matrix.android_arch }} [ ubuntu-latest ]
0 commit comments