tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

kind.yml (27926B)


      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 loader: taskgraph.loader.transform:loader
      6 
      7 kind-dependencies:
      8    - toolchain
      9    - build
     10 
     11 transforms:
     12    - gecko_taskgraph.transforms.job:transforms
     13    - gecko_taskgraph.transforms.task:transforms
     14 
     15 task-defaults:
     16    run-on-repo-type: [hg]
     17    attributes:
     18        retrigger: true
     19    run-on-projects: ['integration', 'release']
     20    treeherder:
     21        tier: 1
     22        kind: other
     23    worker:
     24        max-run-time: 3600
     25        env:
     26            RUST_BACKTRACE: 'full'
     27            RUSTFLAGS: '--deny warnings'
     28    run:
     29        sparse-profile: webrender
     30    use-python: default
     31 
     32 tasks:
     33    lint-tidy:
     34        description: Runs linting checks on WebRender code
     35        worker-type: b-linux
     36        worker:
     37            docker-image: {in-tree: webrender}
     38        run:
     39            using: run-task
     40            cwd: '{checkout}/gfx/wr'
     41            command: >-
     42                pushd /tmp &&
     43                python3 -m pip install six &&
     44                python3 -m pip install -e 'git+https://github.com/servo/servo.git@65a4d1646da46c37fe748add6dcf24b62ebb602a#egg=servo_tidy&subdirectory=python/tidy' &&
     45                popd &&
     46                servo-tidy
     47        treeherder:
     48            platform: linux64-qr/opt
     49            symbol: WR(tidy)
     50        when:
     51            files-changed:
     52                - 'gfx/wr/**'
     53 
     54    linux64-release:
     55        description: Runs release-mode WebRender CI tests on a Linux worker
     56        worker-type: b-linux
     57        worker:
     58            docker-image: {in-tree: webrender}
     59        fetches:
     60            toolchain:
     61                - linux64-rust
     62                - wrench-deps
     63        run:
     64            using: run-task
     65            command: >-
     66                export PATH=$PATH:$MOZ_FETCHES_DIR/rustc/bin:${MOZ_FETCHES_DIR}/wrench-deps/meson &&
     67                cd $HOME/checkouts/gecko/gfx/wr &&
     68                mv $MOZ_FETCHES_DIR/wrench-deps/{vendor,.cargo} ./ &&
     69                CARGOFLAGS="--verbose --frozen" ci-scripts/linux-release-tests.sh
     70        treeherder:
     71            platform: linux64-qr/opt
     72            symbol: WR(wrench)
     73            kind: other
     74        when:
     75            files-changed:
     76                - 'gfx/wr/**'
     77 
     78    linux64-debug:
     79        description: Runs debug-mode WebRender CI tests on a Linux worker
     80        worker-type: b-linux
     81        worker:
     82            docker-image: {in-tree: webrender}
     83        fetches:
     84            toolchain:
     85                - linux64-rust
     86                - wrench-deps
     87        run:
     88            using: run-task
     89            command: >-
     90                export PATH=$PATH:$MOZ_FETCHES_DIR/rustc/bin:${MOZ_FETCHES_DIR}/wrench-deps/meson &&
     91                cd $HOME/checkouts/gecko/gfx/wr &&
     92                mv $MOZ_FETCHES_DIR/wrench-deps/{vendor,.cargo} ./ &&
     93                CARGOFLAGS="--verbose --frozen" ci-scripts/linux-debug-tests.sh
     94        treeherder:
     95            platform: linux64-qr/debug
     96            symbol: WR(wrench)
     97            kind: other
     98        when:
     99            files-changed:
    100                - 'gfx/wr/**'
    101 
    102    wrench-macos-build:
    103        description: Cross compilation of wrench for macOS on Linux
    104        worker-type: b-linux
    105        worker:
    106            docker-image: {in-tree: webrender}
    107            chain-of-trust: true
    108            artifacts:
    109                - type: file
    110                  name: public/build/wrench-macos.tar.bz2
    111                  path: /builds/worker/artifacts/wrench-macos.tar.bz2
    112                - type: file
    113                  name: public/build/wrench-macos-headless.tar.bz2
    114                  path: /builds/worker/artifacts/wrench-macos-headless.tar.bz2
    115        dependencies:
    116            # Using libLLVM and headers for gallium, which require an older version
    117            macosx64-clang-14: toolchain-macosx64-clang-14-raw
    118        fetches:
    119            toolchain:
    120                - linux64-rust-macos
    121                - linux64-clang
    122                - macosx64-sdk-13.3
    123                - wrench-deps
    124            macosx64-clang-14:
    125                - artifact: clang.tar.zst
    126                  dest: clang-mac
    127        run:
    128            using: run-task
    129            command: '$HOME/checkouts/gecko/taskcluster/scripts/misc/wrench-macos-build.sh'
    130        treeherder:
    131            platform: osx-cross/opt
    132            symbol: WR(B)
    133        when:
    134            files-changed:
    135                - 'gfx/wr/**'
    136                - 'taskcluster/scripts/misc/wr-macos-cross-build-setup.sh'
    137                - 'taskcluster/scripts/misc/wrench-macos-build.sh'
    138 
    139    macos-release:
    140        description: Runs release-mode WebRender CI tests on a macOS worker
    141        worker-type: t-osx-1015-r8
    142        worker:
    143            # repo cloning has highly variable run time
    144            max-run-time: 7200
    145            env:
    146                MOZ_FETCHES_DIR: 'checkouts/gecko/gfx/wr'
    147        dependencies:
    148            webrender-wrench-macos-build: webrender-wrench-macos-build
    149        fetches:
    150            webrender-wrench-macos-build:
    151                - 'wrench-macos.tar.bz2'
    152                - 'wrench-macos-headless.tar.bz2'
    153        run:
    154            using: run-task
    155            cwd: '{checkout}/gfx/wr'
    156            command: >-
    157                export WRENCH_HEADLESS_TARGET=$PWD/wrench-macos-headless/ &&
    158                export WRENCH_BINARY=$PWD/wrench-macos/bin/wrench &&
    159                ci-scripts/macos-release-tests.sh
    160        treeherder:
    161            platform: macosx1015-64-qr/opt
    162            symbol: WR(wrench)
    163        when:
    164            files-changed:
    165                - 'gfx/wr/**'
    166 
    167    cargotest-macos-build:
    168        description: Cross compilation of cargo tests for macOS on Linux
    169        worker-type: b-linux
    170        worker:
    171            docker-image: {in-tree: webrender}
    172            chain-of-trust: true
    173            artifacts:
    174                - type: file
    175                  name: public/build/cargo-test-binaries.tar.bz2
    176                  path: /builds/worker/artifacts/cargo-test-binaries.tar.bz2
    177        fetches:
    178            toolchain:
    179                - linux64-rust-macos
    180                - linux64-clang
    181                - macosx64-sdk
    182                - wrench-deps
    183        run:
    184            using: run-task
    185            command: '$HOME/checkouts/gecko/taskcluster/scripts/misc/wr-cargotest-macos-build.sh'
    186        treeherder:
    187            platform: osx-cross/debug
    188            symbol: WR(B)
    189        when:
    190            files-changed:
    191                - 'gfx/wr/**'
    192                - 'taskcluster/scripts/misc/wr-cargotest-macos-build.sh'
    193                - 'taskcluster/scripts/misc/wr-macos-cross-build-setup.sh'
    194 
    195    macos-debug:
    196        description: Runs debug-mode WebRender CI tests on a macOS worker
    197        worker-type: t-osx-1015-r8
    198        worker:
    199            max-run-time: 3600
    200            env:
    201                MOZ_FETCHES_DIR: 'checkouts/gecko/gfx/wr'
    202        dependencies:
    203            webrender-cargotest-macos-build: webrender-cargotest-macos-build
    204        fetches:
    205            webrender-cargotest-macos-build:
    206                - 'cargo-test-binaries.tar.bz2'
    207        run:
    208            using: run-task
    209            cwd: '{checkout}/gfx/wr'
    210            command: >-
    211                mv cargo-test-binaries target &&
    212                cd target &&
    213                for i in debug/deps/*; do $i; done
    214        treeherder:
    215            platform: macosx1015-64-qr/debug
    216            symbol: WR(cargotest)
    217        when:
    218            files-changed:
    219                - 'gfx/wr/**'
    220 
    221    windows:
    222        description: Runs WebRender CI tests on a Windows worker
    223        worker-type: win11-64-24h2-source
    224        worker:
    225            max-run-time: 5400
    226            env:
    227                NODE_OPTIONS: '--max_old_space_size=4096'
    228        fetches:
    229            toolchain:
    230                - win64-clang
    231                - win64-rust
    232                - vs
    233                - wrench-deps
    234        run:
    235            using: run-task
    236            use-caches: false
    237            command: '$GECKO_PATH/taskcluster/scripts/misc/wrench-windows-tests.sh'
    238        treeherder:
    239            platform: windows11-64-24h2/release
    240            symbol: WR(wrench)
    241        when:
    242            files-changed:
    243                - 'build/win64/mozconfig.vs2022'
    244                - 'gfx/wr/**'
    245                - 'taskcluster/scripts/misc/wrench-windows-tests.sh'
    246 
    247    wrench-android-debug:
    248        description: Debug build of wrench for Android
    249        attributes:
    250            build_platform: android
    251        worker-type: b-linux
    252        worker:
    253            max-run-time: 1800
    254            docker-image: {in-tree: webrender}
    255            artifacts:
    256                - type: file
    257                  name: public/build/wrench-debug.apk
    258                  path: /builds/worker/checkouts/gecko/gfx/wr/target/debug/apk/wrench.apk
    259                - type: file
    260                  name: public/build/reftests.tar.zst
    261                  path: /builds/worker/checkouts/gecko/gfx/wr/wrench/reftests.tar.zst
    262                - type: file
    263                  name: public/build/mozdevice.tar.gz
    264                  path: /builds/worker/checkouts/gecko/testing/mozbase/mozdevice.tar.gz
    265                - type: file
    266                  name: public/build/six.tar.gz
    267                  path: /builds/worker/checkouts/gecko/third_party/python/six.tar.gz
    268        run:
    269            using: run-task
    270            cwd: '{checkout}/gfx/wr/wrench'
    271            command: >-
    272                $GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh debug &&
    273                tar -c --zstd -f reftests.tar.zst reftests/ &&
    274                cd $GECKO_PATH/testing/mozbase &&
    275                tar czf mozdevice.tar.gz mozdevice/ &&
    276                cd $GECKO_PATH/third_party/python &&
    277                tar czf six.tar.gz six/
    278        fetches:
    279            toolchain:
    280                - android-gradle-dependencies
    281                - android-ndk-linux
    282                - android-sdk-linux
    283                - linux64-embedded-uniffi-bindgen
    284                - linux64-nimbus-fml
    285                - android34-avd-x86_64-linux
    286                - linux64-cargo-apk
    287                - linux64-jdk
    288                - linux64-rust-android
    289                - wrench-deps
    290        treeherder:
    291            platform: android-em-14-x86_64/debug
    292            symbol: WR(B)
    293        when:
    294            files-changed:
    295                - 'build.gradle'
    296                - 'gfx/wr/**'
    297                - 'taskcluster/scripts/misc/wrench-android-build.sh'
    298 
    299    wrench-android-release:
    300        description: Release build of wrench for Android
    301        attributes:
    302            build_platform: android
    303        worker-type: b-linux
    304        worker:
    305            max-run-time: 1800
    306            docker-image: {in-tree: webrender}
    307            artifacts:
    308                - type: file
    309                  name: public/build/wrench-release.apk
    310                  path: /builds/worker/checkouts/gecko/gfx/wr/target/release/apk/wrench.apk
    311                - type: file
    312                  name: public/build/reftests.tar.zst
    313                  path: /builds/worker/checkouts/gecko/gfx/wr/wrench/reftests.tar.zst
    314                - type: file
    315                  name: public/build/mozdevice.tar.gz
    316                  path: /builds/worker/checkouts/gecko/testing/mozbase/mozdevice.tar.gz
    317                - type: file
    318                  name: public/build/six.tar.gz
    319                  path: /builds/worker/checkouts/gecko/third_party/python/six.tar.gz
    320        run:
    321            using: run-task
    322            cwd: '{checkout}/gfx/wr/wrench'
    323            command: >-
    324                $GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh release &&
    325                tar -c --zstd -f reftests.tar.zst reftests/ &&
    326                cd $GECKO_PATH/testing/mozbase &&
    327                tar czf mozdevice.tar.gz mozdevice/ &&
    328                cd $GECKO_PATH/third_party/python &&
    329                tar czf six.tar.gz six/
    330        fetches:
    331            toolchain:
    332                - android-gradle-dependencies
    333                - android-ndk-linux
    334                - android-sdk-linux
    335                - linux64-embedded-uniffi-bindgen
    336                - linux64-nimbus-fml
    337                - android34-avd-x86_64-linux
    338                - linux64-cargo-apk
    339                - linux64-jdk
    340                - linux64-rust-android
    341                - wrench-deps
    342        treeherder:
    343            platform: android-em-14-x86_64/opt
    344            symbol: WR(B)
    345        when:
    346            files-changed:
    347                - 'build.gradle'
    348                - 'gfx/wr/**'
    349                - 'taskcluster/scripts/misc/wrench-android-build.sh'
    350 
    351    android-emulator-debug:
    352        description: Run debug wrench reftests on Android emulator
    353        attributes:
    354            build_platform: android
    355        worker-type: t-linux-kvm
    356        worker:
    357            max-run-time: 1800
    358            docker-image: {in-tree: ubuntu2404-test}
    359            kvm: true
    360            artifacts:
    361                - type: directory
    362                  name: public/build/logs
    363                  path: /builds/worker/workspace/build/logs
    364            env:
    365                MOZHARNESS_SCRIPT: android_wrench.py
    366                MOZHARNESS_CONFIG: android/wrench.py
    367                NEED_WINDOW_MANAGER: 'true'
    368                PYTHON: "/builds/worker/checkouts/gecko/mach python"
    369        dependencies:
    370            webrender-wrench-android-debug: webrender-wrench-android-debug
    371        fetches:
    372            webrender-wrench-android-debug:
    373                - artifact: 'wrench-debug.apk'
    374                  extract: false
    375            toolchain:
    376                - android-sdk-linux
    377                - linux64-embedded-uniffi-bindgen
    378                - linux64-nimbus-fml
    379                - android34-system-image-x86_64-linux
    380                - android34-avd-x86_64-linux
    381                - linux64-jdk
    382        run:
    383            using: run-task
    384            tooltool-downloads: internal
    385            command: >-
    386                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-debug.apk &&
    387                export WRENCH_REFTESTS=$GECKO_PATH/gfx/wr/wrench/reftests &&
    388                export MOZHARNESS_PATH=$GECKO_PATH/testing/mozharness &&
    389                $GECKO_PATH/taskcluster/scripts/tester/test-linux.sh
    390        treeherder:
    391            platform: android-em-14-x86_64/debug
    392            symbol: WR(wrench)
    393        when:
    394            files-changed:
    395                - 'gfx/wr/**'
    396                - 'testing/mozharness/scripts/android_*.py'
    397                - 'testing/mozharness/configs/android/*.py'
    398 
    399    android-emulator-release:
    400        description: Run release wrench reftests on Android emulator
    401        attributes:
    402            build_platform: android
    403        worker-type: t-linux-kvm
    404        worker:
    405            max-run-time: 1800
    406            docker-image: {in-tree: ubuntu2404-test}
    407            kvm: true
    408            artifacts:
    409                - type: directory
    410                  name: public/build/logs
    411                  path: /builds/worker/workspace/build/logs
    412            env:
    413                MOZHARNESS_SCRIPT: android_wrench.py
    414                MOZHARNESS_CONFIG: android/wrench.py
    415                NEED_WINDOW_MANAGER: 'true'
    416                PYTHON: "/builds/worker/checkouts/gecko/mach python"
    417        dependencies:
    418            webrender-wrench-android-release: webrender-wrench-android-release
    419        fetches:
    420            webrender-wrench-android-release:
    421                - artifact: 'wrench-release.apk'
    422                  extract: false
    423            toolchain:
    424                - android-sdk-linux
    425                - linux64-embedded-uniffi-bindgen
    426                - linux64-nimbus-fml
    427                - android34-system-image-x86_64-linux
    428                - android34-avd-x86_64-linux
    429                - linux64-jdk
    430        run:
    431            using: run-task
    432            tooltool-downloads: internal
    433            command: >-
    434                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-release.apk &&
    435                export WRENCH_REFTESTS=$GECKO_PATH/gfx/wr/wrench/reftests &&
    436                export MOZHARNESS_PATH=$GECKO_PATH/testing/mozharness &&
    437                $GECKO_PATH/taskcluster/scripts/tester/test-linux.sh
    438        treeherder:
    439            platform: android-em-14-x86_64/opt
    440            symbol: WR(wrench)
    441        when:
    442            files-changed:
    443                - 'gfx/wr/**'
    444                - 'testing/mozharness/scripts/android_*.py'
    445                - 'testing/mozharness/configs/android/*.py'
    446 
    447    android-hw-p5-debug:
    448        description: Run debug wrench reftests on Android Pixel5
    449        attributes:
    450            build_platform: android
    451        worker-type: t-bitbar-gw-unit-p5
    452        worker:
    453            max-run-time: 5400
    454            artifacts:
    455                - type: directory
    456                  name: public/build/logs
    457                  path: build/logs
    458            env:
    459                MOZHARNESS_SCRIPT: android_wrench.py
    460                MOZHARNESS_CONFIG: android/wrench.py
    461                MOZ_FETCHES_DIR: fetches
    462                PYTHONPATH: "fetches/mozdevice:fetches/six"
    463        dependencies:
    464            webrender-wrench-android-debug: webrender-wrench-android-debug
    465            android-build: build-android-aarch64/debug
    466        fetches:
    467            webrender-wrench-android-debug:
    468                - artifact: 'wrench-debug.apk'
    469                  extract: false
    470                - 'reftests.tar.zst'
    471                - 'mozdevice.tar.gz'
    472                - 'six.tar.gz'
    473            android-build:
    474                - artifact: 'mozharness.zip'
    475                  dest: 'mozharness'
    476        run:
    477            using: run-task
    478            checkout: false
    479            run-as-root: true
    480            command: >-
    481                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-debug.apk &&
    482                export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
    483                export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
    484                python3 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
    485        treeherder:
    486            platform: android-hw-p5-13-0-aarch64/debug
    487            symbol: WR(wrench)
    488        when:
    489            files-changed:
    490                - 'gfx/wr/**'
    491                - 'testing/mozharness/scripts/android_*.py'
    492                - 'testing/mozharness/configs/android/*.py'
    493                - 'testing/mozbase/mozdevice/**'
    494 
    495    android-hw-p5-opt:
    496        description: Run opt wrench reftests on Android Pixel5
    497        attributes:
    498            build_platform: android
    499        worker-type: t-bitbar-gw-unit-p5
    500        worker:
    501            max-run-time: 5400
    502            artifacts:
    503                - type: directory
    504                  name: public/build/logs
    505                  path: build/logs
    506            env:
    507                MOZHARNESS_SCRIPT: android_wrench.py
    508                MOZHARNESS_CONFIG: android/wrench.py
    509                MOZ_FETCHES_DIR: fetches
    510                PYTHONPATH: "fetches/mozdevice:fetches/six"
    511        dependencies:
    512            webrender-wrench-android-release: webrender-wrench-android-release
    513            android-build: build-android-aarch64/opt
    514        fetches:
    515            webrender-wrench-android-release:
    516                - artifact: 'wrench-release.apk'
    517                  extract: false
    518                - 'reftests.tar.zst'
    519                - 'mozdevice.tar.gz'
    520                - 'six.tar.gz'
    521            android-build:
    522                - artifact: 'mozharness.zip'
    523                  dest: 'mozharness'
    524        run:
    525            using: run-task
    526            checkout: false
    527            run-as-root: true
    528            command: >-
    529                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-release.apk &&
    530                export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
    531                export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
    532                python3 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
    533        treeherder:
    534            platform: android-hw-p5-13-0-aarch64/opt
    535            symbol: WR(wrench)
    536        when:
    537            files-changed:
    538                - 'gfx/wr/**'
    539                - 'testing/mozharness/scripts/android_*.py'
    540                - 'testing/mozharness/configs/android/*.py'
    541                - 'testing/mozbase/mozdevice/**'
    542 
    543    android-hw-p6-debug:
    544        description: Run debug wrench reftests on Android Pixel6
    545        attributes:
    546            build_platform: android
    547        worker-type: t-bitbar-gw-perf-p6
    548        worker:
    549            max-run-time: 5400
    550            artifacts:
    551                - type: directory
    552                  name: public/build/logs
    553                  path: build/logs
    554            env:
    555                MOZHARNESS_SCRIPT: android_wrench.py
    556                MOZHARNESS_CONFIG: android/wrench.py
    557                MOZ_FETCHES_DIR: fetches
    558                PYTHONPATH: "fetches/mozdevice:fetches/six"
    559        dependencies:
    560            webrender-wrench-android-debug: webrender-wrench-android-debug
    561            android-build: build-android-aarch64/debug
    562        fetches:
    563            webrender-wrench-android-debug:
    564                - artifact: 'wrench-debug.apk'
    565                  extract: false
    566                - 'reftests.tar.zst'
    567                - 'mozdevice.tar.gz'
    568                - 'six.tar.gz'
    569            android-build:
    570                - artifact: 'mozharness.zip'
    571                  dest: 'mozharness'
    572        run:
    573            using: run-task
    574            checkout: false
    575            run-as-root: true
    576            command: >-
    577                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-debug.apk &&
    578                export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
    579                export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
    580                python3 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
    581        treeherder:
    582            platform: android-hw-p6-13-0-aarch64/debug
    583            symbol: WR(wrench)
    584        when:
    585            files-changed:
    586                - 'gfx/wr/**'
    587                - 'testing/mozharness/scripts/android_*.py'
    588                - 'testing/mozharness/configs/android/*.py'
    589                - 'testing/mozbase/mozdevice/**'
    590 
    591    android-hw-p6-opt:
    592        description: Run opt wrench reftests on Android Pixel6
    593        attributes:
    594            build_platform: android
    595        worker-type: t-bitbar-gw-perf-p6
    596        worker:
    597            max-run-time: 5400
    598            artifacts:
    599                - type: directory
    600                  name: public/build/logs
    601                  path: build/logs
    602            env:
    603                MOZHARNESS_SCRIPT: android_wrench.py
    604                MOZHARNESS_CONFIG: android/wrench.py
    605                MOZ_FETCHES_DIR: fetches
    606                PYTHONPATH: "fetches/mozdevice:fetches/six"
    607        dependencies:
    608            webrender-wrench-android-release: webrender-wrench-android-release
    609            android-build: build-android-aarch64/opt
    610        fetches:
    611            webrender-wrench-android-release:
    612                - artifact: 'wrench-release.apk'
    613                  extract: false
    614                - 'reftests.tar.zst'
    615                - 'mozdevice.tar.gz'
    616                - 'six.tar.gz'
    617            android-build:
    618                - artifact: 'mozharness.zip'
    619                  dest: 'mozharness'
    620        run:
    621            using: run-task
    622            checkout: false
    623            run-as-root: true
    624            command: >-
    625                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-release.apk &&
    626                export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
    627                export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
    628                python3 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
    629        treeherder:
    630            platform: android-hw-p6-13-0-aarch64/opt
    631            symbol: WR(wrench)
    632        when:
    633            files-changed:
    634                - 'gfx/wr/**'
    635                - 'testing/mozharness/scripts/android_*.py'
    636                - 'testing/mozharness/configs/android/*.py'
    637                - 'testing/mozbase/mozdevice/**'
    638 
    639    android-hw-a55-debug:
    640        description: Run debug wrench reftests on Android Samsung Galaxy A55
    641        attributes:
    642            build_platform: android
    643        worker-type: t-lambda-perf-a55
    644        worker:
    645            max-run-time: 5400
    646            artifacts:
    647                - type: directory
    648                  name: public/build/logs
    649                  path: build/logs
    650            env:
    651                MOZHARNESS_SCRIPT: android_wrench.py
    652                MOZHARNESS_CONFIG: android/wrench.py
    653                MOZ_FETCHES_DIR: fetches
    654                PYTHONPATH: "fetches/mozdevice:fetches/six"
    655        dependencies:
    656            webrender-wrench-android-debug: webrender-wrench-android-debug
    657            android-build: build-android-aarch64/debug
    658        fetches:
    659            webrender-wrench-android-debug:
    660                - artifact: 'wrench-debug.apk'
    661                  extract: false
    662                - 'reftests.tar.zst'
    663                - 'mozdevice.tar.gz'
    664                - 'six.tar.gz'
    665            android-build:
    666                - artifact: 'mozharness.zip'
    667                  dest: 'mozharness'
    668        run:
    669            using: run-task
    670            checkout: false
    671            run-as-root: true
    672            command: >-
    673                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-debug.apk &&
    674                export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
    675                export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
    676                python3 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
    677        treeherder:
    678            platform: android-hw-a55-14-0-aarch64/debug
    679            symbol: WR(wrench)
    680        when:
    681            files-changed:
    682                - 'gfx/wr/**'
    683                - 'testing/mozharness/scripts/android_*.py'
    684                - 'testing/mozharness/configs/android/*.py'
    685                - 'testing/mozbase/mozdevice/**'
    686 
    687    android-hw-a55-opt:
    688        description: Run opt wrench reftests on Android Samsung Galaxy A55
    689        attributes:
    690            build_platform: android
    691        worker-type: t-lambda-perf-a55
    692        worker:
    693            max-run-time: 5400
    694            artifacts:
    695                - type: directory
    696                  name: public/build/logs
    697                  path: build/logs
    698            env:
    699                MOZHARNESS_SCRIPT: android_wrench.py
    700                MOZHARNESS_CONFIG: android/wrench.py
    701                MOZ_FETCHES_DIR: fetches
    702                PYTHONPATH: "fetches/mozdevice:fetches/six"
    703        dependencies:
    704            webrender-wrench-android-release: webrender-wrench-android-release
    705            android-build: build-android-aarch64/opt
    706        fetches:
    707            webrender-wrench-android-release:
    708                - artifact: 'wrench-release.apk'
    709                  extract: false
    710                - 'reftests.tar.zst'
    711                - 'mozdevice.tar.gz'
    712                - 'six.tar.gz'
    713            android-build:
    714                - artifact: 'mozharness.zip'
    715                  dest: 'mozharness'
    716        run:
    717            using: run-task
    718            checkout: false
    719            run-as-root: true
    720            command: >-
    721                export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-release.apk &&
    722                export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
    723                export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
    724                python3 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
    725        treeherder:
    726            platform: android-hw-a55-14-0-aarch64/opt
    727            symbol: WR(wrench)
    728        when:
    729            files-changed:
    730                - 'gfx/wr/**'
    731                - 'testing/mozharness/scripts/android_*.py'
    732                - 'testing/mozharness/configs/android/*.py'
    733                - 'testing/mozbase/mozdevice/**'