@@ -53,11 +53,17 @@ jobs:
53
53
flag-name : run-${{ matrix.os }}-${{ matrix.python-version }}
54
54
55
55
ubuntu_build_apk :
56
- name : Unit test apk [ ${{ matrix.runs_on }} ]
56
+ name : Unit test apk [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
57
57
needs : [flake8]
58
58
runs-on : ${{ matrix.runs_on }}
59
+ continue-on-error : true
59
60
strategy :
60
61
matrix :
62
+ bootstrap :
63
+ - name : sdl2
64
+ target : testapps-with-numpy
65
+ - name : webview
66
+ target : testapps-webview
61
67
include :
62
68
- runs_on : ubuntu-latest
63
69
steps :
@@ -78,24 +84,31 @@ jobs:
78
84
- name : Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
79
85
run : |
80
86
mkdir -p apks
81
- make docker/run/make/with-artifact/apk/testapps-with-numpy
82
- - name : Rename artifact to include the build platform name
87
+ make docker/run/make/with-artifact/apk/${{ matrix.bootstrap.target }}
88
+ - name : Rename apk artifact to include the build platform name
83
89
run : |
84
- mv apks/${{ env.APK_ARTIFACT_FILENAME }} apks/${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
85
- - uses : actions/upload-artifact@v1
90
+ mv apks/${{ env.APK_ARTIFACT_FILENAME }} apks/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
91
+ - name : Upload apk artifact
92
+ uses : actions/upload-artifact@v1
86
93
with :
87
- name : ${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
88
- path : apks
94
+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
95
+ path : apks/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
89
96
90
97
macos_build_apk :
91
- name : Unit test apk [ ${{ matrix.runs_on }} ]
98
+ name : Unit test apk [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
92
99
needs : [flake8]
93
100
defaults :
94
101
run :
95
102
shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
96
103
runs-on : ${{ matrix.runs_on }}
104
+ continue-on-error : true
97
105
strategy :
98
106
matrix :
107
+ bootstrap :
108
+ - name : sdl2
109
+ target : testapps-with-numpy
110
+ - name : webview
111
+ target : testapps-webview
99
112
include :
100
113
- runs_on : macos-latest
101
114
- runs_on : apple-silicon-m1
@@ -127,21 +140,28 @@ jobs:
127
140
run : |
128
141
source ci/osx_ci.sh
129
142
arm64_set_path_and_python_version 3.9.7
130
- make testapps-with-numpy
131
- - name : Rename artifact to include the build platform name
143
+ make ${{ matrix.bootstrap.target }}
144
+ - name : Rename apk artifact to include the build platform name
132
145
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
146
+ mv testapps/on_device_unit_tests/${{ env.APK_ARTIFACT_FILENAME }} ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
147
+ - name : Upload apk artifact
148
+ uses : actions/upload-artifact@v1
135
149
with :
136
- name : ${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
137
- path : ${{ matrix.runs_on }}-${{ env.APK_ARTIFACT_FILENAME }}
150
+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
151
+ path : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}
138
152
139
153
ubuntu_build_aab :
140
154
name : Unit test aab [ ${{ matrix.runs_on }} ]
141
155
needs : [flake8]
142
156
runs-on : ${{ matrix.runs_on }}
157
+ continue-on-error : true
143
158
strategy :
144
159
matrix :
160
+ bootstrap :
161
+ - name : sdl2
162
+ target : testapps-with-numpy-aab
163
+ - name : webview
164
+ target : testapps-webview-aab
145
165
include :
146
166
- runs_on : ubuntu-latest
147
167
steps :
@@ -162,24 +182,31 @@ jobs:
162
182
- name : Build Android App Bundle Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
163
183
run : |
164
184
mkdir -p aabs
165
- make docker/run/make/with-artifact/aab/testapps-with-numpy-aab
185
+ make docker/run/make/with-artifact/aab/${{ matrix.bootstrap.target }}
166
186
- name : Rename artifact to include the build platform name
167
187
run : |
168
- mv aabs/${{ env.AAB_ARTIFACT_FILENAME }} aabs/${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
169
- - uses : actions/upload-artifact@v1
188
+ mv aabs/${{ env.AAB_ARTIFACT_FILENAME }} aabs/${{ matrix.runs_on }}-${{ matrix.bootstrap.name}}-${{ env.AAB_ARTIFACT_FILENAME }}
189
+ - name : Upload apk artifact
190
+ uses : actions/upload-artifact@v1
170
191
with :
171
- name : ${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
172
- path : aabs
192
+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name}}-${{ env.AAB_ARTIFACT_FILENAME }}
193
+ path : aabs/${{ matrix.runs_on }}-${{ matrix.bootstrap.name}}-${{ env.AAB_ARTIFACT_FILENAME }}
173
194
174
195
macos_build_aab :
175
- name : Unit test aab [ ${{ matrix.runs_on }} ]
196
+ name : Unit test aab [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
176
197
needs : [flake8]
177
198
defaults :
178
199
run :
179
200
shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
180
201
runs-on : ${{ matrix.runs_on }}
202
+ continue-on-error : true
181
203
strategy :
182
204
matrix :
205
+ bootstrap :
206
+ - name : sdl2
207
+ target : testapps-with-numpy-aab
208
+ - name : webview
209
+ target : testapps-webview-aab
183
210
include :
184
211
- runs_on : macos-latest
185
212
- runs_on : apple-silicon-m1
@@ -207,18 +234,19 @@ jobs:
207
234
source ci/osx_ci.sh
208
235
arm64_set_path_and_python_version 3.9.7
209
236
make --file ci/makefiles/osx.mk
210
- - name : Build multi-arch aab Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
237
+ - name : Build multi-arch sdl2 aab Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
211
238
run : |
212
239
source ci/osx_ci.sh
213
240
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
241
+ make ${{ matrix.bootstrap.target }}
242
+ - name : Rename sdl2 artifact to include the build platform name
216
243
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
244
+ mv testapps/on_device_unit_tests/${{ env.AAB_ARTIFACT_FILENAME }} ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}
245
+ - name : Upload sdl2 apk artifact
246
+ uses : actions/upload-artifact@v1
219
247
with :
220
- name : ${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
221
- path : ${{ matrix.runs_on }}-${{ env.AAB_ARTIFACT_FILENAME }}
248
+ name : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}
249
+ path : ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}
222
250
223
251
ubuntu_rebuild_updated_recipes :
224
252
name : Test updated recipes for arch ${{ matrix.android_arch }} [ ubuntu-latest ]
0 commit comments