android-lint.yml (2268B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 task-defaults: 6 description: 'Run lint over all modules' 7 run-on-repo-type: [hg] 8 run: 9 using: gradlew 10 gradlew: ['lint'] 11 worker: 12 max-run-time: 2700 13 docker-image: {in-tree: lint} 14 always-target: false 15 attributes: 16 build_platform: android 17 code-review: true 18 dependencies: 19 build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt 20 fetches: 21 toolchain: 22 - android-sdk-linux 23 - linux64-embedded-uniffi-bindgen 24 - linux64-nimbus-fml 25 - android-gradle-dependencies 26 - linux64-jdk-repack 27 build-fat-aar: 28 - target.maven.zip 29 platform: 'lint/opt' 30 treeherder: 31 kind: test 32 tier: 1 33 worker-type: b-linux 34 when: 35 files-changed: 36 - "mobile/android/android-components/**" 37 38 39 android-components: 40 run: 41 pre-gradlew: 42 - ["cd", "mobile/android/android-components"] 43 gradlew: ["--no-parallel"] 44 treeherder: 45 symbol: lint(AC) 46 worker: 47 artifacts: 48 - name: public/reports 49 path: /builds/worker/checkouts/gecko/mobile/android/android-components/build/reports 50 type: directory 51 52 focus: 53 when: 54 files-changed: 55 - "mobile/android/focus-android/**" 56 run: 57 pre-gradlew: 58 - ["cd", "mobile/android/focus-android"] 59 treeherder: 60 symbol: lint(focus) 61 worker: 62 artifacts: 63 - name: public/reports 64 path: /builds/worker/checkouts/gecko/mobile/android/focus-android/build/reports 65 type: directory 66 67 fenix: 68 when: 69 files-changed: 70 - "mobile/android/fenix/**" 71 run: 72 pre-gradlew: 73 - ["cd", "mobile/android/fenix"] 74 gradlew: ['lintDebug'] 75 treeherder: 76 symbol: lint(fenix) 77 worker: 78 artifacts: 79 - name: public/reports 80 path: /builds/worker/checkouts/gecko/mobile/android/fenix/build/reports 81 type: directory