-
Notifications
You must be signed in to change notification settings - Fork 3
66 lines (61 loc) · 1.54 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Validate 'setup-android-tools'
on:
push:
branches:
- master
pull_request:
schedule:
- cron: 0 0 * * *
jobs:
task:
name: install
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
cache: [true, false]
fail-fast: false
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup ndk
uses: ./
with:
packages: ndk;19.2.5345600
cache: ${{ matrix.cache }}
- name: setup system-images
uses: ./
with:
packages: |
ndk-bundle
system-images;android-30;google_apis;x86
system-images;android-30;google_apis;x86_64
cache: ${{ matrix.cache }}
- name: setup components
uses: ./
with:
packages: |
add-ons;addon-google_apis-google-19
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha8
extras;google;webdriver
cache: ${{ matrix.cache }}
already-installed:
name: pre-installed
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup platforms
uses: ./
with:
packages: |
platforms;android-29
platforms;android-30
- name: setup ndk-bundle
uses: ./
with:
packages: ndk-bundle