blob: 8cbbcc33855042070d347a62b236e22e74cb3b2c (
plain)
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
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
job-defaults:
description: 'Run lint over all modules'
run:
using: gradlew
gradlew: ['lint']
use-caches: false
worker:
max-run-time: 2700
docker-image: {in-tree: lint}
always-target: false
attributes:
build_platform: android
code-review: true
dependencies:
build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
fetches:
toolchain:
- android-sdk-linux
- android-gradle-dependencies
- linux64-jdk-repack
build-fat-aar:
- target.maven.tar.xz
platform: 'lint/opt'
treeherder:
kind: test
tier: 1
worker-type: b-linux-gcp
when:
files-changed:
- "mobile/android/android-components/**"
android-components:
run:
pre-gradlew:
- ["cd", "mobile/android/android-components"]
gradlew: ["--no-parallel"]
treeherder:
symbol: lint(AC)
focus:
when:
files-changed:
- "mobile/android/focus-android/**"
run:
pre-gradlew:
- ["cd", "mobile/android/focus-android"]
treeherder:
symbol: lint(focus)
fenix:
when:
files-changed:
- "mobile/android/fenix/**"
run:
pre-gradlew:
- ["cd", "mobile/android/fenix"]
gradlew: ['lintDebug', 'mozilla-lint-rules:test']
treeherder:
symbol: lint(fenix)
|