Skip to content

Commit 15a9f12

Browse files
author
Maxim Lobanov
committed
Update test.yml
1 parent 3c15bb7 commit 15a9f12

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- cron: 0 0 * * *
77

88
jobs:
9-
android-tools:
10-
name: android-tools
9+
task:
10+
name: task
1111
strategy:
1212
matrix:
1313
operating-system: [ubuntu-latest, windows-latest, macos-latest]
@@ -18,22 +18,45 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v2
2020

21-
- name: setup-android-tools
21+
- name: setup ndk
2222
uses: ./
2323
with:
2424
packages: ndk;19.2.5345600
2525
cache: ${{ matrix.cache }}
2626

27-
- name: setup-anroid-tools-2
27+
- name: setup system-images
2828
uses: ./
2929
with:
3030
packages: |
31-
sources;android-28
32-
sources;android-29
31+
ndk-bundle
32+
system-images;android-30;google_apis;x86
33+
system-images;android-30;google_apis;x86_64
3334
cache: ${{ matrix.cache }}
3435

35-
- name: already-installed
36+
- name: setup components
37+
uses: ./
38+
with:
39+
packages: |
40+
platforms;android-20
41+
add-ons;addon-google_apis-google-19
42+
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha8
43+
extras;google;webdriver
44+
45+
already-installed:
46+
name: 'Check that installed tools are not re-installed'
47+
strategy:
48+
matrix:
49+
operating-system: [ubuntu-latest, windows-latest, macos-latest]
50+
fail-fast: false
51+
runs-on: ${{ matrix.operating-system }}
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v2
55+
- name: setup platforms;android-30
3656
uses: ./
3757
with:
3858
packages: platforms;android-30
39-
cache: ${{ matrix.cache }}
59+
- name: setup ndk-bundle
60+
uses: ./
61+
with:
62+
packages: ndk-bundle

0 commit comments

Comments
 (0)