forked from mozilla-mobile/FirefoxLite
-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (39 loc) · 1.11 KB
/
android.yml
File metadata and controls
48 lines (39 loc) · 1.11 KB
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
name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build and check
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: python -m pip install --upgrade pip lxml babel
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build with Gradle
run: ./gradlew "clean" "updateCustomizedStrings" "checkstyle" "assemble" "lint" "ktlint" "checkPermissionsTask" "--stacktrace" "--no-daemon"
- name: Upload build outputs (APKs)
uses: actions/upload-artifact@v2
with:
name: build-outputs
path: app/build/outputs
- name: Upload build reports
if: always()
uses: actions/upload-artifact@v2
with:
name: build-reports
path: app/build/reports