android.yml (18488B)
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 attributes: 7 artifact_map: taskcluster/gecko_taskgraph/manifests/fennec_geckoview.yml 8 maven_packages: 9 - geckoview 10 index: 11 product: mobile 12 worker-type: b-linux-docker-amd 13 worker: 14 docker-image: {in-tree: android-build} 15 max-run-time: 7200 16 env: 17 GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline" 18 artifacts: 19 - name: public/build/maven 20 path: /builds/worker/workspace/obj-build/gradle/maven/ 21 type: directory 22 - name: public/build/target.maven.zip 23 path: /builds/worker/workspace/obj-build/gradle/target.maven.zip 24 type: file 25 - name: public/build/geckoview-androidTest.apk 26 path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview/outputs/apk/androidTest/debug/geckoview-debug-androidTest.apk 27 type: file 28 - name: public/build/geckoview-test_runner.apk 29 path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/apk/debug/test_runner-debug.apk 30 type: file 31 - name: public/build/geckoview-test_runner.aab 32 path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/test_runner/outputs/bundle/debug/test_runner-debug.aab 33 type: file 34 - name: public/build/geckoview_example.apk 35 path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/apk/debug/geckoview_example-debug.apk 36 type: file 37 - name: public/build/geckoview_example.aab 38 path: /builds/worker/workspace/obj-build/gradle/build/mobile/android/geckoview_example/outputs/bundle/debug/geckoview_example-debug.aab 39 type: file 40 - name: public/build 41 path: /builds/worker/artifacts/ 42 type: directory 43 - name: public/reports 44 path: /builds/worker/workspace/obj-build/gradle/build/reports 45 type: directory 46 run-on-repo-type: [hg] 47 run: 48 using: mozharness 49 script: "mozharness/scripts/fx_desktop_build.py" 50 config: ["builds/releng_base_android_64_builds.py"] 51 secrets: true 52 tooltool-downloads: internal 53 fetches: 54 toolchain: 55 - android-ndk-linux 56 - android-sdk-linux 57 - linux64-jdk 58 - linux64-rust-android 59 - linux64-rust-size 60 - linux64-cbindgen 61 - linux64-dump_syms 62 - linux64-nasm 63 - linux64-node 64 - sysroot-x86_64-linux-gnu 65 - sysroot-wasm32-wasi 66 # 'embedded-uniffi-bindgen' and 'nimbus-fml' only needed for artifact builds, but it's not easy to make that conditional. 67 - linux64-embedded-uniffi-bindgen 68 - linux64-nimbus-fml 69 70 android-arm/debug: 71 description: "Android Arm Debug" 72 index: 73 job-name: android-arm-debug 74 attributes: 75 enable-full-crashsymbols: true 76 treeherder: 77 platform: android-5-0-armv7/debug 78 symbol: B 79 worker: 80 env: 81 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 82 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 83 run: 84 actions: [get-secrets, build] 85 custom-build-variant-cfg: arm-debug 86 mozconfig-variant: debug 87 use-sccache: true 88 fetches: 89 toolchain: 90 - linux64-clang 91 - linux64-sccache 92 - android-gradle-dependencies 93 94 android-arm/opt: 95 description: "Android Arm Opt" 96 index: 97 job-name: android-arm-opt 98 attributes: 99 enable-full-crashsymbols: true 100 treeherder: 101 platform: android-5-0-armv7/opt 102 symbol: B 103 run-on-projects: ['integration'] 104 worker: 105 env: 106 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 107 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 108 run: 109 actions: [get-secrets, build] 110 custom-build-variant-cfg: arm 111 use-sccache: true 112 use-python: "3.11" 113 fetches: 114 toolchain: 115 - linux64-clang 116 - android-gradle-dependencies 117 - linux64-sccache 118 119 android-arm-lite/opt: 120 description: "Android Arm Opt Lite" 121 index: 122 job-name: android-arm-lite-opt 123 attributes: 124 enable-full-crashsymbols: true 125 treeherder: 126 platform: android-5-0-armv7/opt 127 symbol: Bl 128 run-on-projects: ['integration'] 129 worker: 130 env: 131 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 132 PERFHERDER_EXTRA_OPTIONS: lite 133 run: 134 actions: [get-secrets, build] 135 custom-build-variant-cfg: arm-lite 136 use-sccache: true 137 fetches: 138 toolchain: 139 - linux64-clang 140 - linux64-sccache 141 - android-gradle-dependencies-lite 142 143 android-arm-shippable/opt: 144 description: "Android Arm Shippable" 145 use-pgo: android-arm-shippable/opt 146 attributes: 147 enable-full-crashsymbols: true 148 shippable: true 149 shipping-phase: build 150 shipping-product: fennec 151 index: 152 job-name: android-arm-opt 153 type: android-shippable-with-multi-l10n 154 treeherder: 155 platform: android-5-0-armv7-shippable/opt 156 symbol: Bpgo(B) 157 run-on-projects: ['release'] 158 worker-type: b-linux-docker-xlarge-amd 159 worker: 160 env: 161 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 162 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 163 run: 164 actions: [get-secrets, build, multi-l10n] 165 config: [taskcluster_nightly.py] 166 custom-build-variant-cfg: arm 167 fetches: 168 toolchain: 169 - linux64-clang 170 - android-gradle-dependencies 171 172 android-arm-shippable-lite/opt: 173 description: "Android Arm Shippable Lite" 174 use-pgo: android-arm-shippable/opt 175 attributes: 176 enable-full-crashsymbols: true 177 shippable: true 178 shipping-phase: build 179 shipping-product: fennec 180 index: 181 job-name: android-arm-lite-opt 182 type: android-shippable-with-multi-l10n 183 treeherder: 184 platform: android-5-0-armv7-shippable/opt 185 symbol: Bpgo(Bl) 186 run-on-projects: ['release'] 187 worker-type: b-linux-docker-xlarge-amd 188 worker: 189 env: 190 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 191 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 192 PERFHERDER_EXTRA_OPTIONS: lite 193 run: 194 actions: [get-secrets, build, multi-l10n] 195 config: [taskcluster_nightly.py] 196 custom-build-variant-cfg: arm-lite 197 fetches: 198 toolchain: 199 - linux64-clang 200 - android-gradle-dependencies-lite 201 202 android-aarch64/opt: 203 description: "Android AArch64 Opt" 204 index: 205 job-name: android-aarch64-opt 206 attributes: 207 enable-full-crashsymbols: true 208 treeherder: 209 platform: android-5-0-aarch64/opt 210 symbol: B 211 run-on-projects: ['integration'] 212 worker: 213 env: 214 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 215 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 216 run: 217 actions: [get-secrets, build] 218 custom-build-variant-cfg: aarch64 219 use-sccache: true 220 use-python: "3.11" 221 fetches: 222 toolchain: 223 - linux64-clang 224 - linux64-sccache 225 - android-gradle-dependencies 226 227 android-aarch64-lite/opt: 228 description: "Android AArch64 Opt Lite" 229 index: 230 job-name: android-aarch64-lite-opt 231 attributes: 232 enable-full-crashsymbols: true 233 treeherder: 234 platform: android-5-0-aarch64/opt 235 symbol: Bl 236 run-on-projects: ['integration'] 237 worker: 238 env: 239 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 240 PERFHERDER_EXTRA_OPTIONS: lite 241 run: 242 actions: [get-secrets, build] 243 custom-build-variant-cfg: aarch64-lite 244 use-sccache: true 245 fetches: 246 toolchain: 247 - linux64-clang 248 - linux64-sccache 249 - android-gradle-dependencies-lite 250 251 android-aarch64-non-unified/opt: 252 description: "Android AArch64 Opt Non-unified" 253 index: 254 job-name: android-aarch64-non-unified 255 treeherder: 256 platform: android-5-0-aarch64/opt 257 symbol: B-nu 258 run-on-projects: ['integration'] 259 worker: 260 env: 261 MOZ_AUTOMATION_BUILD_SYMBOLS: '0' 262 PERFHERDER_EXTRA_OPTIONS: non-unified 263 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 264 run: 265 actions: [get-secrets, build] 266 custom-build-variant-cfg: aarch64 267 extra-config: 268 extra_mozconfig_content: 269 - ac_add_options --disable-unified-build 270 use-sccache: true 271 use-python: "3.11" 272 fetches: 273 toolchain: 274 - linux64-clang 275 - linux64-sccache 276 - android-gradle-dependencies 277 278 android-aarch64/debug: 279 description: "Android AArch64 Debug" 280 index: 281 job-name: android-aarch64-debug 282 attributes: 283 enable-full-crashsymbols: true 284 treeherder: 285 platform: android-5-0-aarch64/debug 286 symbol: B 287 worker: 288 env: 289 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 290 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 291 run: 292 actions: [get-secrets, build] 293 custom-build-variant-cfg: aarch64-debug 294 mozconfig-variant: debug 295 use-sccache: true 296 fetches: 297 toolchain: 298 - linux64-clang 299 - linux64-sccache 300 - android-gradle-dependencies 301 302 android-aarch64-shippable/opt: 303 description: "Android AArch64 Shippable" 304 use-pgo: android-aarch64-shippable/opt 305 attributes: 306 enable-full-crashsymbols: true 307 shippable: true 308 shipping-phase: build 309 shipping-product: fennec 310 index: 311 job-name: android-aarch64-opt 312 type: android-shippable 313 treeherder: 314 platform: android-5-0-aarch64-shippable/opt 315 symbol: Bpgo(B) 316 run-on-projects: ['release'] 317 worker-type: b-linux-docker-xlarge-amd 318 worker: 319 env: 320 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 321 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 322 run: 323 actions: [get-secrets, build, multi-l10n] 324 config: [taskcluster_nightly.py] 325 custom-build-variant-cfg: aarch64 326 fetches: 327 toolchain: 328 - linux64-clang 329 - android-gradle-dependencies 330 331 android-aarch64-shippable-lite/opt: 332 description: "Android AArch64 Shippable Lite" 333 use-pgo: android-aarch64-shippable/opt 334 attributes: 335 enable-full-crashsymbols: true 336 shippable: true 337 shipping-phase: build 338 shipping-product: fennec 339 index: 340 job-name: android-aarch64-lite-opt 341 type: android-shippable 342 treeherder: 343 platform: android-5-0-aarch64-shippable/opt 344 symbol: Bpgo(Bl) 345 run-on-projects: ['release'] 346 worker-type: b-linux-docker-xlarge-amd 347 worker: 348 env: 349 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest" 350 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 351 PERFHERDER_EXTRA_OPTIONS: lite 352 run: 353 actions: [get-secrets, build, multi-l10n] 354 config: [taskcluster_nightly.py] 355 custom-build-variant-cfg: aarch64-lite 356 fetches: 357 toolchain: 358 - linux64-clang 359 - android-gradle-dependencies-lite 360 361 android-x86_64/opt: 362 description: "Android x86-64 Opt" 363 index: 364 job-name: android-x86_64-opt 365 attributes: 366 enable-full-crashsymbols: true 367 treeherder: 368 platform: android-5-0-x86_64/opt 369 symbol: B 370 run-on-projects: ['integration'] 371 worker: 372 env: 373 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 374 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 375 run: 376 actions: [get-secrets, build] 377 custom-build-variant-cfg: x86_64 378 use-sccache: true 379 use-python: "3.11" 380 fetches: 381 toolchain: 382 - linux64-clang 383 - linux64-sccache 384 - android-gradle-dependencies 385 386 android-x86_64-lite/opt: 387 description: "Android x86-64 Opt Lite" 388 index: 389 job-name: android-x86_64-lite-opt 390 attributes: 391 enable-full-crashsymbols: true 392 treeherder: 393 platform: android-5-0-x86_64/opt 394 symbol: Bl 395 run-on-projects: ['integration'] 396 worker: 397 env: 398 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 399 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 400 PERFHERDER_EXTRA_OPTIONS: lite 401 run: 402 actions: [get-secrets, build] 403 custom-build-variant-cfg: x86_64-lite 404 use-sccache: true 405 fetches: 406 toolchain: 407 - linux64-clang 408 - linux64-sccache 409 - android-gradle-dependencies-lite 410 411 android-x86_64-fuzzing/debug: 412 description: "Android x86_64 Fuzzing Debug" 413 index: 414 job-name: android-x86_64-fuzzing-debug 415 treeherder: 416 platform: android-5-0-x86_64/debug 417 symbol: Bf 418 worker: 419 env: 420 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 421 PERFHERDER_EXTRA_OPTIONS: fuzzing 422 run: 423 actions: [get-secrets, build] 424 custom-build-variant-cfg: fuzzing-debug 425 mozconfig-variant: debug-fuzzing 426 use-sccache: true 427 fetches: 428 toolchain: 429 - linux64-clang 430 - linux64-sccache 431 - android-gradle-dependencies 432 optimization: 433 skip-unless-expanded: null 434 435 android-x86_64-non-unified/opt: 436 description: "Android x86-64 Opt Non-unified" 437 index: 438 job-name: android-x86_64-non-unified 439 treeherder: 440 platform: android-5-0-x86_64/opt 441 symbol: B-nu 442 run-on-projects: ['integration'] 443 worker: 444 env: 445 MOZ_AUTOMATION_BUILD_SYMBOLS: '0' 446 PERFHERDER_EXTRA_OPTIONS: non-unified 447 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 448 run: 449 actions: [get-secrets, build] 450 custom-build-variant-cfg: x86_64 451 extra-config: 452 extra_mozconfig_content: 453 - ac_add_options --disable-unified-build 454 use-sccache: true 455 use-python: "3.11" 456 fetches: 457 toolchain: 458 - linux64-clang 459 - linux64-sccache 460 - android-gradle-dependencies 461 462 android-x86_64-shippable/opt: 463 description: "Android x86-64 Shippable" 464 use-pgo: true 465 attributes: 466 enable-full-crashsymbols: true 467 shippable: true 468 shipping-phase: build 469 shipping-product: fennec 470 index: 471 job-name: android-x86_64-opt 472 type: android-shippable 473 treeherder: 474 platform: android-5-0-x86_64-shippable/opt 475 symbol: Bpgo(B) 476 run-on-projects: ['release'] 477 worker-type: b-linux-docker-xlarge-amd 478 worker: 479 env: 480 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 481 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 482 run: 483 actions: [get-secrets, build, multi-l10n] 484 config: [taskcluster_nightly.py] 485 custom-build-variant-cfg: x86_64 486 fetches: 487 toolchain: 488 - linux64-clang 489 - android-gradle-dependencies 490 491 android-x86_64-shippable-lite/opt: 492 description: "Android x86-64 Shippable Lite" 493 use-pgo: android-x86_64-shippable/opt 494 attributes: 495 enable-full-crashsymbols: true 496 shippable: true 497 shipping-phase: build 498 shipping-product: fennec 499 index: 500 job-name: android-x86_64-lite-opt 501 type: android-shippable 502 treeherder: 503 platform: android-5-0-x86_64-shippable/opt 504 symbol: Bpgo(Bl) 505 run-on-projects: ['release'] 506 worker-type: b-linux-docker-xlarge-amd 507 worker: 508 env: 509 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 510 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 511 PERFHERDER_EXTRA_OPTIONS: lite 512 run: 513 actions: [get-secrets, build, multi-l10n] 514 config: [taskcluster_nightly.py] 515 custom-build-variant-cfg: x86_64-lite 516 fetches: 517 toolchain: 518 - linux64-clang 519 - android-gradle-dependencies-lite 520 521 android-x86_64/debug: 522 description: "Android x86-64 Debug" 523 index: 524 job-name: android-x86_64-debug 525 attributes: 526 enable-full-crashsymbols: true 527 treeherder: 528 platform: android-5-0-x86_64/debug 529 symbol: B 530 worker: 531 env: 532 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 533 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 534 run: 535 actions: [get-secrets, build] 536 custom-build-variant-cfg: x86_64-debug 537 mozconfig-variant: debug 538 use-sccache: true 539 fetches: 540 toolchain: 541 - linux64-clang 542 - linux64-sccache 543 - android-gradle-dependencies 544 545 android-x86_64/debug-isolated-process: 546 description: "Android x86-64 Debug with Isolated Process" 547 index: 548 job-name: android-x86_64-debug-isolated-process 549 attributes: 550 enable-full-crashsymbols: true 551 treeherder: 552 platform: android-5-0-x86_64/debug 553 symbol: Bip 554 worker: 555 env: 556 TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest" 557 MOZ_AUTOMATION_PACKAGE_TESTS: "1" 558 PERFHERDER_EXTRA_OPTIONS: isolated-process 559 run: 560 actions: [get-secrets, build] 561 custom-build-variant-cfg: x86_64-debug-isolated-process 562 mozconfig-variant: debug-isolated-process 563 use-sccache: true 564 fetches: 565 toolchain: 566 - linux64-clang 567 - linux64-sccache 568 - android-gradle-dependencies