9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout python-for-android
12
- uses : actions/checkout@master
12
+ uses : actions/checkout@v1
13
13
- name : Set up Python 3.7
14
14
uses : actions/setup-python@v1.1.0
15
15
with :
30
30
os : [ubuntu-latest, macOs-latest]
31
31
steps :
32
32
- name : Checkout python-for-android
33
- uses : actions/checkout@master
33
+ uses : actions/checkout@v1
34
34
- name : Set up Python ${{ matrix.python-version }}
35
35
uses : actions/setup-python@v1.1.0
36
36
with :
@@ -45,23 +45,31 @@ jobs:
45
45
name : Build testapp
46
46
needs : [flake8]
47
47
runs-on : ubuntu-latest
48
+ strategy :
49
+ matrix :
50
+ build-arch : ['arm64-v8a', 'armeabi-v7a']
48
51
steps :
49
52
- name : Checkout python-for-android
50
- uses : actions/checkout@master
53
+ uses : actions/checkout@v1
51
54
- name : Pull docker image
52
55
run : |
53
56
make docker/pull
54
- - name : Build apk for Python 3 arm64-v8a
57
+ - name : Build apk for Python 3 ${{ matrix.build-arch }}
55
58
run : |
56
- make docker/run/make/testapps/python3/arm64-v8a
59
+ mkdir -p apks
60
+ make docker/run/make/with-artifact/testapps/python3/${{ matrix.build-arch }}
61
+ - uses : actions/upload-artifact@v1
62
+ with :
63
+ name : bdisttest_python3_sqlite_openssl_googlendk__${{ matrix.build-arch }}-debug-1.1.apk
64
+ path : apks
57
65
58
66
rebuild_updated_recipes :
59
67
name : Test updated recipes
60
68
needs : [flake8]
61
69
runs-on : ubuntu-latest
62
70
steps :
63
71
- name : Checkout python-for-android
64
- uses : actions/checkout@master
72
+ uses : actions/checkout@v1
65
73
- name : Pull docker image
66
74
run : |
67
75
make docker/pull
0 commit comments