@@ -53,13 +53,18 @@ 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 :
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
63
68
steps :
64
69
- name : Checkout python-for-android
65
70
uses : actions/checkout@v2
@@ -78,26 +83,33 @@ jobs:
78
83
- name : Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
79
84
run : |
80
85
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
83
88
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
86
92
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 }}
89
95
90
96
macos_build_apk :
91
- name : Unit test apk [ ${{ matrix.runs_on }} ]
97
+ name : Unit test apk [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
92
98
needs : [flake8]
93
99
defaults :
94
100
run :
95
101
shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
96
102
runs-on : ${{ matrix.runs_on }}
103
+ continue-on-error : true
97
104
strategy :
98
105
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
99
112
include :
100
- - runs_on : macos-latest
101
113
- runs_on : apple-silicon-m1
102
114
run_wrapper : arch -arm64 bash --noprofile --norc -eo pipefail {0}
103
115
env :
@@ -127,23 +139,29 @@ jobs:
127
139
run : |
128
140
source ci/osx_ci.sh
129
141
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
132
144
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
135
148
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 }}
138
151
139
152
ubuntu_build_aab :
140
153
name : Unit test aab [ ${{ matrix.runs_on }} ]
141
154
needs : [flake8]
142
155
runs-on : ${{ matrix.runs_on }}
156
+ continue-on-error : true
143
157
strategy :
144
158
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
147
165
steps :
148
166
- name : Checkout python-for-android
149
167
uses : actions/checkout@v2
@@ -162,26 +180,33 @@ jobs:
162
180
- name : Build Android App Bundle Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
163
181
run : |
164
182
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 }}
166
184
- name : Rename artifact to include the build platform name
167
185
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
170
189
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 }}
173
192
174
193
macos_build_aab :
175
- name : Unit test aab [ ${{ matrix.runs_on }} ]
194
+ name : Unit test aab [ ${{ matrix.runs_on }} | ${{ matrix.bootstrap.name }} ]
176
195
needs : [flake8]
177
196
defaults :
178
197
run :
179
198
shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
180
199
runs-on : ${{ matrix.runs_on }}
200
+ continue-on-error : true
181
201
strategy :
182
202
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
183
209
include :
184
- - runs_on : macos-latest
185
210
- runs_on : apple-silicon-m1
186
211
run_wrapper : arch -arm64 bash --noprofile --norc -eo pipefail {0}
187
212
env :
@@ -207,18 +232,19 @@ jobs:
207
232
source ci/osx_ci.sh
208
233
arm64_set_path_and_python_version 3.9.7
209
234
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)
211
236
run : |
212
237
source ci/osx_ci.sh
213
238
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
216
241
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
219
245
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 }}
222
248
223
249
ubuntu_rebuild_updated_recipes :
224
250
name : Test updated recipes for arch ${{ matrix.android_arch }} [ ubuntu-latest ]
0 commit comments