47
47
parallel : true
48
48
flag-name : run-${{ matrix.os }}-${{ matrix.python-version }}
49
49
50
- build_apk :
51
- name : Unit test apk
50
+ ubuntu_build_apk :
51
+ name : Unit test apk [ ubuntu-latest ]
52
52
needs : [flake8]
53
53
runs-on : ubuntu-latest
54
54
steps :
75
75
name : bdist_unit_tests_app-debug-1.1-.apk
76
76
path : apks
77
77
78
- build_aab :
79
- name : Unit test aab
78
+ macos_build_apk :
79
+ name : Unit test apk [ ${{ matrix.runs_on }} ]
80
+ needs : [flake8]
81
+ defaults :
82
+ run :
83
+ shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
84
+ runs-on : ${{ matrix.runs_on }}
85
+ strategy :
86
+ matrix :
87
+ include :
88
+ - runs_on : macos-latest
89
+ - runs_on : apple-silicon-m1
90
+ run_wrapper : arch -arm64 bash --noprofile --norc -eo pipefail {0}
91
+ env :
92
+ ANDROID_HOME : ${HOME}/.android
93
+ ANDROID_SDK_ROOT : ${HOME}/.android/android-sdk
94
+ ANDROID_SDK_HOME : ${HOME}/.android/android-sdk
95
+ ANDROID_NDK_HOME : ${HOME}/.android/android-ndk
96
+ steps :
97
+ - name : Checkout python-for-android
98
+ uses : actions/checkout@v2
99
+ - name : Install dependencies
100
+ run : |
101
+ brew install autoconf automake libtool openssl pkg-config
102
+ make --file ci/makefiles/osx.mk
103
+ - name : Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
104
+ run : |
105
+ make testapps-with-numpy
106
+
107
+ ubuntu_build_aab :
108
+ name : Unit test aab [ ubuntu-latest ]
80
109
needs : [flake8]
81
110
runs-on : ubuntu-latest
82
111
steps :
@@ -103,8 +132,37 @@ jobs:
103
132
name : bdist_unit_tests_app-release-1.1-.aab
104
133
path : aabs
105
134
106
- rebuild_updated_recipes :
107
- name : Test updated recipes
135
+ macos_build_aab :
136
+ name : Unit test aab [ ${{ matrix.runs_on }} ]
137
+ needs : [flake8]
138
+ defaults :
139
+ run :
140
+ shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
141
+ runs-on : ${{ matrix.runs_on }}
142
+ strategy :
143
+ matrix :
144
+ include :
145
+ - runs_on : macos-latest
146
+ - runs_on : apple-silicon-m1
147
+ run_wrapper : arch -arm64 bash --noprofile --norc -eo pipefail {0}
148
+ env :
149
+ ANDROID_HOME : ${HOME}/.android
150
+ ANDROID_SDK_ROOT : ${HOME}/.android/android-sdk
151
+ ANDROID_SDK_HOME : ${HOME}/.android/android-sdk
152
+ ANDROID_NDK_HOME : ${HOME}/.android/android-ndk
153
+ steps :
154
+ - name : Checkout python-for-android
155
+ uses : actions/checkout@v2
156
+ - name : Install dependencies
157
+ run : |
158
+ brew install autoconf automake libtool openssl pkg-config
159
+ make --file ci/makefiles/osx.mk
160
+ - name : Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
161
+ run : |
162
+ make testapps-with-numpy-aab
163
+
164
+ ubuntu_rebuild_updated_recipes :
165
+ name : Test updated recipes [ ubuntu-latest ]
108
166
needs : [flake8]
109
167
runs-on : ubuntu-latest
110
168
steps :
@@ -128,6 +186,35 @@ jobs:
128
186
run : |
129
187
make docker/run/make/rebuild_updated_recipes
130
188
189
+ macos_rebuild_updated_recipes :
190
+ name : Test updated recipes [ ${{ matrix.runs_on }} ]
191
+ needs : [flake8]
192
+ defaults :
193
+ run :
194
+ shell : ${{ matrix.run_wrapper || 'bash --noprofile --norc -eo pipefail {0}' }}
195
+ runs-on : ${{ matrix.runs_on }}
196
+ strategy :
197
+ matrix :
198
+ include :
199
+ - runs_on : macos-latest
200
+ - runs_on : apple-silicon-m1
201
+ run_wrapper : arch -arm64 bash --noprofile --norc -eo pipefail {0}
202
+ env :
203
+ ANDROID_HOME : ${HOME}/.android
204
+ ANDROID_SDK_ROOT : ${HOME}/.android/android-sdk
205
+ ANDROID_SDK_HOME : ${HOME}/.android/android-sdk
206
+ ANDROID_NDK_HOME : ${HOME}/.android/android-ndk
207
+ steps :
208
+ - name : Checkout python-for-android
209
+ uses : actions/checkout@v2
210
+ - name : Install dependencies
211
+ run : |
212
+ brew install autoconf automake libtool openssl pkg-config
213
+ make --file ci/makefiles/osx.mk
214
+ - name : Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
215
+ run : |
216
+ make rebuild_updated_recipes
217
+
131
218
coveralls_finish :
132
219
needs : test
133
220
runs-on : ubuntu-latest
0 commit comments