There are only a few more rules in the fenix project that are better having in the tooling-lint component, so lets just move that here. Differential Revision: https://phabricator.services.mozilla.com/D236048
80 lines
2.1 KiB
YAML
80 lines
2.1 KiB
YAML
# 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/.
|
|
---
|
|
task-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)
|
|
worker:
|
|
artifacts:
|
|
- name: public/reports
|
|
path: /builds/worker/checkouts/gecko/mobile/android/android-components/build/reports
|
|
type: directory
|
|
|
|
focus:
|
|
when:
|
|
files-changed:
|
|
- "mobile/android/focus-android/**"
|
|
run:
|
|
pre-gradlew:
|
|
- ["cd", "mobile/android/focus-android"]
|
|
treeherder:
|
|
symbol: lint(focus)
|
|
worker:
|
|
artifacts:
|
|
- name: public/reports
|
|
path: /builds/worker/checkouts/gecko/mobile/android/focus-android/build/reports
|
|
type: directory
|
|
|
|
fenix:
|
|
when:
|
|
files-changed:
|
|
- "mobile/android/fenix/**"
|
|
run:
|
|
pre-gradlew:
|
|
- ["cd", "mobile/android/fenix"]
|
|
gradlew: ['lintDebug']
|
|
treeherder:
|
|
symbol: lint(fenix)
|
|
worker:
|
|
artifacts:
|
|
- name: public/reports
|
|
path: /builds/worker/checkouts/gecko/mobile/android/fenix/build/reports
|
|
type: directory
|