2018-12-19 22:32:30 +03:00
|
|
|
# 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/.
|
2019-05-11 00:19:48 +03:00
|
|
|
---
|
2018-12-19 22:32:30 +03:00
|
|
|
loader: taskgraph.loader.transform:loader
|
|
|
|
|
|
|
|
kind-dependencies:
|
|
|
|
- toolchain
|
2019-10-18 20:23:00 +03:00
|
|
|
- build
|
2018-12-19 22:32:30 +03:00
|
|
|
|
|
|
|
transforms:
|
|
|
|
- taskgraph.transforms.job:transforms
|
|
|
|
- taskgraph.transforms.task:transforms
|
|
|
|
|
|
|
|
job-defaults:
|
2019-04-17 01:02:46 +03:00
|
|
|
attributes:
|
|
|
|
retrigger: true
|
2020-05-15 18:01:19 +03:00
|
|
|
run-on-projects: ['mozilla-beta', 'trunk']
|
2018-12-19 22:32:30 +03:00
|
|
|
treeherder:
|
2019-01-10 00:56:22 +03:00
|
|
|
tier: 1
|
2018-12-19 22:32:30 +03:00
|
|
|
kind: other
|
|
|
|
worker:
|
2020-04-08 15:54:37 +03:00
|
|
|
max-run-time: 3600
|
2018-12-19 22:32:30 +03:00
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 'full'
|
|
|
|
RUSTFLAGS: '--deny warnings'
|
2019-08-08 16:47:51 +03:00
|
|
|
run:
|
|
|
|
sparse-profile: webrender
|
2018-12-19 22:32:30 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint-tidy:
|
|
|
|
description: Runs linting checks on WebRender code
|
2019-05-01 01:58:06 +03:00
|
|
|
worker-type: b-linux
|
2019-01-08 17:15:30 +03:00
|
|
|
worker:
|
|
|
|
docker-image: {in-tree: webrender}
|
2018-12-19 22:32:30 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
2019-07-27 09:19:22 +03:00
|
|
|
cwd: '{checkout}/gfx/wr'
|
2018-12-19 22:32:30 +03:00
|
|
|
command: >-
|
|
|
|
servo-tidy
|
|
|
|
treeherder:
|
|
|
|
platform: linux64-qr/opt
|
|
|
|
symbol: WR(tidy)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
|
|
|
|
2020-10-22 04:01:50 +03:00
|
|
|
linux64-release:
|
2018-12-19 22:32:30 +03:00
|
|
|
description: Runs release-mode WebRender CI tests on a Linux worker
|
2019-05-01 01:58:06 +03:00
|
|
|
worker-type: b-linux
|
2019-01-08 17:15:30 +03:00
|
|
|
worker:
|
|
|
|
docker-image: {in-tree: webrender}
|
2019-08-02 00:04:09 +03:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- linux64-rust
|
|
|
|
- wrench-deps
|
2018-12-19 22:32:30 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
command: >-
|
2020-09-16 21:02:45 +03:00
|
|
|
export PATH=$PATH:$MOZ_FETCHES_DIR/rustc/bin:${MOZ_FETCHES_DIR}/wrench-deps/meson &&
|
2018-12-19 22:32:30 +03:00
|
|
|
cd $HOME/checkouts/gecko/gfx/wr &&
|
2019-08-02 00:04:09 +03:00
|
|
|
mv $MOZ_FETCHES_DIR/wrench-deps/{vendor,.cargo} ./ &&
|
2018-12-19 22:32:30 +03:00
|
|
|
CARGOFLAGS="--verbose --frozen" ci-scripts/linux-release-tests.sh
|
|
|
|
treeherder:
|
|
|
|
platform: linux64-qr/opt
|
|
|
|
symbol: WR(wrench)
|
|
|
|
kind: other
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
|
|
|
|
2020-10-22 04:01:50 +03:00
|
|
|
linux64-debug:
|
2018-12-19 22:32:30 +03:00
|
|
|
description: Runs debug-mode WebRender CI tests on a Linux worker
|
2019-05-01 01:58:06 +03:00
|
|
|
worker-type: b-linux
|
2019-01-08 17:15:30 +03:00
|
|
|
worker:
|
|
|
|
docker-image: {in-tree: webrender}
|
2019-08-02 00:04:09 +03:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- linux64-rust
|
|
|
|
- wrench-deps
|
2018-12-19 22:32:30 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
command: >-
|
2020-09-16 21:02:45 +03:00
|
|
|
export PATH=$PATH:$MOZ_FETCHES_DIR/rustc/bin:${MOZ_FETCHES_DIR}/wrench-deps/meson &&
|
2018-12-19 22:32:30 +03:00
|
|
|
cd $HOME/checkouts/gecko/gfx/wr &&
|
2019-08-02 00:04:09 +03:00
|
|
|
mv $MOZ_FETCHES_DIR/wrench-deps/{vendor,.cargo} ./ &&
|
2018-12-19 22:32:30 +03:00
|
|
|
CARGOFLAGS="--verbose --frozen" ci-scripts/linux-debug-tests.sh
|
|
|
|
treeherder:
|
|
|
|
platform: linux64-qr/debug
|
|
|
|
symbol: WR(wrench)
|
|
|
|
kind: other
|
|
|
|
when:
|
2019-02-15 04:32:16 +03:00
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
|
|
|
|
|
|
|
wrench-macos-build:
|
|
|
|
description: Cross compilation of wrench for macOS on Linux
|
2019-05-01 01:58:06 +03:00
|
|
|
worker-type: b-linux
|
2019-02-15 04:32:16 +03:00
|
|
|
worker:
|
|
|
|
docker-image: {in-tree: webrender}
|
|
|
|
env:
|
2019-08-03 07:31:56 +03:00
|
|
|
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
|
2019-02-15 04:32:16 +03:00
|
|
|
chain-of-trust: true
|
|
|
|
artifacts:
|
|
|
|
- type: file
|
|
|
|
name: public/build/wrench-macos.tar.bz2
|
|
|
|
path: /builds/worker/artifacts/wrench-macos.tar.bz2
|
|
|
|
- type: file
|
|
|
|
name: public/build/wrench-macos-headless.tar.bz2
|
|
|
|
path: /builds/worker/artifacts/wrench-macos-headless.tar.bz2
|
2019-08-02 00:04:09 +03:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- linux64-rust-macos
|
|
|
|
- linux64-cctools-port
|
2020-09-25 22:54:32 +03:00
|
|
|
- linux64-clang-11-macosx-cross
|
2019-08-02 00:04:09 +03:00
|
|
|
- linux64-llvm-dsymutil
|
|
|
|
- wrench-deps
|
2019-02-15 04:32:16 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
tooltool-downloads: internal
|
|
|
|
command: '$HOME/checkouts/gecko/taskcluster/scripts/misc/wrench-macos-build.sh'
|
|
|
|
treeherder:
|
2020-02-07 23:48:13 +03:00
|
|
|
platform: osx-cross/opt
|
2019-02-15 04:32:16 +03:00
|
|
|
symbol: WR(B)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
|
|
|
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
|
|
|
- 'taskcluster/scripts/misc/wr-macos-cross-build-setup.sh'
|
|
|
|
- 'taskcluster/scripts/misc/wrench-macos-build.sh'
|
|
|
|
|
|
|
|
macos-release:
|
|
|
|
description: Runs release-mode WebRender CI tests on a macOS worker
|
2020-02-13 20:16:29 +03:00
|
|
|
worker-type: t-osx-1014
|
2019-02-15 04:32:16 +03:00
|
|
|
worker:
|
2020-03-06 22:38:54 +03:00
|
|
|
# repo cloning has highly variable run time
|
|
|
|
max-run-time: 7200
|
2019-02-15 04:32:16 +03:00
|
|
|
env:
|
|
|
|
MOZ_FETCHES_DIR: 'checkouts/gecko/gfx/wr'
|
|
|
|
dependencies:
|
|
|
|
webrender-wrench-macos-build: webrender-wrench-macos-build
|
|
|
|
fetches:
|
|
|
|
webrender-wrench-macos-build:
|
|
|
|
- 'wrench-macos.tar.bz2'
|
|
|
|
- 'wrench-macos-headless.tar.bz2'
|
|
|
|
run:
|
|
|
|
using: run-task
|
2019-08-02 15:49:16 +03:00
|
|
|
cwd: '{checkout}/gfx/wr'
|
2019-02-15 04:32:16 +03:00
|
|
|
command: >-
|
|
|
|
export WRENCH_HEADLESS_TARGET=$PWD/wrench-macos-headless/ &&
|
|
|
|
export WRENCH_BINARY=$PWD/wrench-macos/bin/wrench &&
|
|
|
|
ci-scripts/macos-release-tests.sh
|
|
|
|
treeherder:
|
2020-02-07 23:48:13 +03:00
|
|
|
platform: macosx1014-64-qr/opt
|
2019-02-15 04:32:16 +03:00
|
|
|
symbol: WR(wrench)
|
|
|
|
when:
|
2019-02-15 04:32:21 +03:00
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
|
|
|
|
|
|
|
cargotest-macos-build:
|
|
|
|
description: Cross compilation of cargo tests for macOS on Linux
|
2019-05-01 01:58:06 +03:00
|
|
|
worker-type: b-linux
|
2019-02-15 04:32:21 +03:00
|
|
|
worker:
|
|
|
|
docker-image: {in-tree: webrender}
|
|
|
|
env:
|
2019-08-03 07:31:56 +03:00
|
|
|
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
|
2019-02-15 04:32:21 +03:00
|
|
|
chain-of-trust: true
|
|
|
|
artifacts:
|
|
|
|
- type: file
|
|
|
|
name: public/build/cargo-test-binaries.tar.bz2
|
|
|
|
path: /builds/worker/artifacts/cargo-test-binaries.tar.bz2
|
2019-08-02 00:04:09 +03:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- linux64-rust-macos
|
|
|
|
- linux64-cctools-port
|
|
|
|
- linux64-clang
|
|
|
|
- linux64-llvm-dsymutil
|
|
|
|
- wrench-deps
|
2019-02-15 04:32:21 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
tooltool-downloads: internal
|
|
|
|
command: '$HOME/checkouts/gecko/taskcluster/scripts/misc/wr-cargotest-macos-build.sh'
|
|
|
|
treeherder:
|
2020-02-07 23:48:13 +03:00
|
|
|
platform: osx-cross/debug
|
2019-02-15 04:32:21 +03:00
|
|
|
symbol: WR(B)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
|
|
|
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
|
|
|
- 'taskcluster/scripts/misc/wr-cargotest-macos-build.sh'
|
|
|
|
- 'taskcluster/scripts/misc/wr-macos-cross-build-setup.sh'
|
|
|
|
|
|
|
|
macos-debug:
|
|
|
|
description: Runs debug-mode WebRender CI tests on a macOS worker
|
2020-02-13 20:16:29 +03:00
|
|
|
worker-type: t-osx-1014
|
2019-02-15 04:32:21 +03:00
|
|
|
worker:
|
|
|
|
max-run-time: 3600
|
|
|
|
env:
|
|
|
|
MOZ_FETCHES_DIR: 'checkouts/gecko/gfx/wr'
|
|
|
|
dependencies:
|
|
|
|
webrender-cargotest-macos-build: webrender-cargotest-macos-build
|
|
|
|
fetches:
|
|
|
|
webrender-cargotest-macos-build:
|
|
|
|
- 'cargo-test-binaries.tar.bz2'
|
|
|
|
run:
|
|
|
|
using: run-task
|
2019-07-27 09:19:22 +03:00
|
|
|
cwd: '{checkout}/gfx/wr'
|
2019-02-15 04:32:21 +03:00
|
|
|
command: >-
|
|
|
|
mv cargo-test-binaries target &&
|
|
|
|
cd target &&
|
2020-10-22 14:25:58 +03:00
|
|
|
for i in debug/deps/*; do $i; done
|
2019-02-15 04:32:21 +03:00
|
|
|
treeherder:
|
2020-02-07 23:48:13 +03:00
|
|
|
platform: macosx1014-64-qr/debug
|
2019-02-15 04:32:21 +03:00
|
|
|
symbol: WR(cargotest)
|
|
|
|
when:
|
2018-12-19 22:32:30 +03:00
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
2019-01-08 17:15:30 +03:00
|
|
|
|
|
|
|
windows:
|
|
|
|
description: Runs WebRender CI tests on a Windows worker
|
2019-05-01 01:58:06 +03:00
|
|
|
worker-type: t-win10-64
|
2019-01-08 17:15:30 +03:00
|
|
|
worker:
|
|
|
|
max-run-time: 5400
|
|
|
|
env:
|
2019-08-12 19:13:15 +03:00
|
|
|
TOOLTOOL_MANIFEST: 'browser/config/tooltool-manifests/win64/vs2017.manifest'
|
2019-08-02 00:04:09 +03:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- win64-rust
|
|
|
|
- wrench-deps
|
2019-01-08 17:15:30 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
2019-02-12 01:20:58 +03:00
|
|
|
use-caches: false
|
2019-01-08 17:15:30 +03:00
|
|
|
command: '$GECKO_PATH/taskcluster/scripts/misc/wrench-windows-tests.sh'
|
2019-11-10 01:19:55 +03:00
|
|
|
tooltool-downloads: internal
|
2019-01-08 17:15:30 +03:00
|
|
|
treeherder:
|
|
|
|
platform: windows10-64-qr/release
|
|
|
|
symbol: WR(wrench)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'build/win64/mozconfig.vs2017'
|
|
|
|
- 'browser/config/tooltool-manifests/win64/webrender.manifest'
|
|
|
|
- 'gfx/wr/**'
|
|
|
|
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
|
|
|
- 'taskcluster/scripts/misc/wrench-windows-tests.sh'
|
2019-03-08 03:37:46 +03:00
|
|
|
|
2019-05-02 23:50:12 +03:00
|
|
|
wrench-android-debug:
|
|
|
|
description: Debug build of wrench for Android
|
2019-04-02 19:50:36 +03:00
|
|
|
worker-type: b-linux
|
2019-03-08 03:37:46 +03:00
|
|
|
worker:
|
|
|
|
max-run-time: 5400
|
|
|
|
docker-image: {in-tree: webrender}
|
|
|
|
artifacts:
|
|
|
|
- type: file
|
|
|
|
name: public/build/wrench-debug.apk
|
2019-09-27 16:50:43 +03:00
|
|
|
path: /builds/worker/checkouts/gecko/gfx/wr/target/android-artifacts/debug/apk/wrench.apk
|
2019-06-08 11:59:23 +03:00
|
|
|
- type: file
|
|
|
|
name: public/build/reftests.tar.gz
|
|
|
|
path: /builds/worker/checkouts/gecko/gfx/wr/wrench/reftests.tar.gz
|
2020-07-20 18:51:45 +03:00
|
|
|
- type: file
|
|
|
|
name: public/build/mozdevice.tar.gz
|
|
|
|
path: /builds/worker/checkouts/gecko/testing/mozbase/mozdevice.tar.gz
|
2019-03-08 03:37:46 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
2019-07-27 09:19:22 +03:00
|
|
|
cwd: '{checkout}/gfx/wr/wrench'
|
2019-06-08 11:59:23 +03:00
|
|
|
command: >-
|
|
|
|
$GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh debug &&
|
2020-07-20 18:51:45 +03:00
|
|
|
tar czf reftests.tar.gz reftests/ &&
|
|
|
|
cd $GECKO_PATH/testing/mozbase &&
|
|
|
|
tar czf mozdevice.tar.gz mozdevice/
|
2019-08-02 00:04:09 +03:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- android-gradle-dependencies
|
|
|
|
- android-ndk-linux
|
|
|
|
- android-sdk-linux
|
|
|
|
- linux64-rust-android
|
|
|
|
- wrench-deps
|
2019-03-08 03:37:46 +03:00
|
|
|
treeherder:
|
2019-05-23 22:31:06 +03:00
|
|
|
platform: android-em-7-0-x86/debug
|
2019-03-08 03:37:46 +03:00
|
|
|
symbol: WR(B)
|
|
|
|
when:
|
|
|
|
files-changed:
|
2019-07-23 16:34:40 +03:00
|
|
|
- 'build.gradle'
|
2019-03-08 03:37:46 +03:00
|
|
|
- 'gfx/wr/**'
|
2019-05-02 23:50:12 +03:00
|
|
|
- 'taskcluster/scripts/misc/wrench-android-build.sh'
|
|
|
|
|
|
|
|
wrench-android-release:
|
|
|
|
description: Release build of wrench for Android
|
|
|
|
worker-type: b-linux
|
|
|
|
worker:
|
|
|
|
max-run-time: 5400
|
|
|
|
docker-image: {in-tree: webrender}
|
|
|
|
artifacts:
|
|
|
|
- type: file
|
|
|
|
name: public/build/wrench-release.apk
|
2019-09-27 16:50:43 +03:00
|
|
|
path: /builds/worker/checkouts/gecko/gfx/wr/target/android-artifacts/release/apk/wrench.apk
|
2019-06-08 11:59:23 +03:00
|
|
|
- type: file
|
|
|
|
name: public/build/reftests.tar.gz
|
|
|
|
path: /builds/worker/checkouts/gecko/gfx/wr/wrench/reftests.tar.gz
|
2020-07-20 18:51:45 +03:00
|
|
|
- type: file
|
|
|
|
name: public/build/mozdevice.tar.gz
|
|
|
|
path: /builds/worker/checkouts/gecko/testing/mozbase/mozdevice.tar.gz
|
2019-05-02 23:50:12 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
2019-07-27 09:19:22 +03:00
|
|
|
cwd: '{checkout}/gfx/wr/wrench'
|
2019-06-08 11:59:23 +03:00
|
|
|
command: >-
|
|
|
|
$GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh release &&
|
2020-07-20 18:51:45 +03:00
|
|
|
tar czf reftests.tar.gz reftests/ &&
|
|
|
|
cd $GECKO_PATH/testing/mozbase &&
|
|
|
|
tar czf mozdevice.tar.gz mozdevice/
|
2019-08-02 00:04:09 +03:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- android-gradle-dependencies
|
|
|
|
- android-ndk-linux
|
|
|
|
- android-sdk-linux
|
|
|
|
- linux64-rust-android
|
|
|
|
- wrench-deps
|
2019-05-02 23:50:12 +03:00
|
|
|
treeherder:
|
2019-05-23 22:31:06 +03:00
|
|
|
platform: android-em-7-0-x86/opt
|
2019-05-02 23:50:12 +03:00
|
|
|
symbol: WR(B)
|
|
|
|
when:
|
|
|
|
files-changed:
|
2019-07-23 16:34:40 +03:00
|
|
|
- 'build.gradle'
|
2019-05-02 23:50:12 +03:00
|
|
|
- 'gfx/wr/**'
|
|
|
|
- 'taskcluster/scripts/misc/wrench-android-build.sh'
|
2019-05-23 22:31:06 +03:00
|
|
|
|
2019-06-08 11:59:23 +03:00
|
|
|
android-emulator-debug:
|
|
|
|
description: Run debug wrench reftests on Android emulator
|
2020-05-08 04:56:55 +03:00
|
|
|
worker-type: t-linux-metal # privileged:true doesn't work on b-linux
|
2019-05-23 22:31:06 +03:00
|
|
|
worker:
|
|
|
|
max-run-time: 5400
|
2019-12-11 23:28:45 +03:00
|
|
|
docker-image: {in-tree: ubuntu1804-test}
|
2019-05-23 22:31:06 +03:00
|
|
|
privileged: true # for access to /dev/kvm for hw accel in the emulator
|
|
|
|
artifacts:
|
|
|
|
- type: directory
|
|
|
|
name: public/build/logs
|
|
|
|
path: /builds/worker/workspace/build/logs
|
|
|
|
env:
|
|
|
|
# need hard-coded URLs until bug 1551875 is fixed
|
|
|
|
TASKCLUSTER_ROOT_URL: 'https://taskcluster.net'
|
|
|
|
TASKCLUSTER_PROXY_URL: 'http://taskcluster'
|
2019-06-08 11:59:02 +03:00
|
|
|
MOZHARNESS_SCRIPT: android_wrench.py
|
2019-05-23 22:31:06 +03:00
|
|
|
MOZHARNESS_CONFIG: android/wrench.py
|
|
|
|
NEED_WINDOW_MANAGER: 'true'
|
|
|
|
dependencies:
|
|
|
|
webrender-wrench-android-debug: webrender-wrench-android-debug
|
|
|
|
fetches:
|
|
|
|
webrender-wrench-android-debug:
|
|
|
|
- 'wrench-debug.apk'
|
2020-05-06 17:28:37 +03:00
|
|
|
toolchain:
|
|
|
|
- android-sdk-linux
|
2019-05-23 22:31:06 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
tooltool-downloads: internal
|
|
|
|
command: >-
|
|
|
|
export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-debug.apk &&
|
|
|
|
export WRENCH_REFTESTS=$GECKO_PATH/gfx/wr/wrench/reftests &&
|
|
|
|
export MOZHARNESS_PATH=$GECKO_PATH/testing/mozharness &&
|
|
|
|
$GECKO_PATH/taskcluster/scripts/tester/test-linux.sh
|
|
|
|
treeherder:
|
|
|
|
platform: android-em-7-0-x86/debug
|
|
|
|
symbol: WR(wrench)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
2020-07-16 23:30:07 +03:00
|
|
|
- 'testing/mozharness/scripts/android_*.py'
|
|
|
|
- 'testing/mozharness/configs/android/*.py'
|
2019-05-23 22:31:06 +03:00
|
|
|
|
2019-06-08 11:59:23 +03:00
|
|
|
android-emulator-release:
|
|
|
|
description: Run release wrench reftests on Android emulator
|
2020-05-08 04:56:55 +03:00
|
|
|
worker-type: t-linux-metal # privileged:true doesn't work on b-linux
|
2019-05-23 22:31:06 +03:00
|
|
|
worker:
|
|
|
|
max-run-time: 5400
|
2019-12-11 23:28:45 +03:00
|
|
|
docker-image: {in-tree: ubuntu1804-test}
|
2019-05-23 22:31:06 +03:00
|
|
|
privileged: true # for access to /dev/kvm for hw accel in the emulator
|
|
|
|
artifacts:
|
|
|
|
- type: directory
|
|
|
|
name: public/build/logs
|
|
|
|
path: /builds/worker/workspace/build/logs
|
|
|
|
env:
|
|
|
|
# need hard-coded URLs until bug 1551875 is fixed
|
|
|
|
TASKCLUSTER_ROOT_URL: 'https://taskcluster.net'
|
|
|
|
TASKCLUSTER_PROXY_URL: 'http://taskcluster'
|
2019-06-08 11:59:02 +03:00
|
|
|
MOZHARNESS_SCRIPT: android_wrench.py
|
2019-05-23 22:31:06 +03:00
|
|
|
MOZHARNESS_CONFIG: android/wrench.py
|
|
|
|
NEED_WINDOW_MANAGER: 'true'
|
|
|
|
dependencies:
|
|
|
|
webrender-wrench-android-release: webrender-wrench-android-release
|
|
|
|
fetches:
|
|
|
|
webrender-wrench-android-release:
|
|
|
|
- 'wrench-release.apk'
|
2020-05-06 17:28:37 +03:00
|
|
|
toolchain:
|
|
|
|
- android-sdk-linux
|
2019-05-23 22:31:06 +03:00
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
tooltool-downloads: internal
|
|
|
|
command: >-
|
|
|
|
export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-release.apk &&
|
|
|
|
export WRENCH_REFTESTS=$GECKO_PATH/gfx/wr/wrench/reftests &&
|
|
|
|
export MOZHARNESS_PATH=$GECKO_PATH/testing/mozharness &&
|
|
|
|
$GECKO_PATH/taskcluster/scripts/tester/test-linux.sh
|
|
|
|
treeherder:
|
|
|
|
platform: android-em-7-0-x86/opt
|
|
|
|
symbol: WR(wrench)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
2020-07-16 23:30:07 +03:00
|
|
|
- 'testing/mozharness/scripts/android_*.py'
|
|
|
|
- 'testing/mozharness/configs/android/*.py'
|
2019-06-08 11:59:23 +03:00
|
|
|
|
|
|
|
android-hw-p2-debug:
|
|
|
|
description: Run debug wrench reftests on Android Pixel2
|
|
|
|
worker-type: t-bitbar-gw-unit-p2
|
|
|
|
worker:
|
|
|
|
max-run-time: 5400
|
|
|
|
artifacts:
|
|
|
|
- type: directory
|
|
|
|
name: public/build/logs
|
|
|
|
path: build/logs
|
|
|
|
env:
|
|
|
|
MOZHARNESS_SCRIPT: android_wrench.py
|
|
|
|
MOZHARNESS_CONFIG: android/wrench.py
|
|
|
|
MOZ_FETCHES_DIR: fetches
|
|
|
|
dependencies:
|
|
|
|
webrender-wrench-android-debug: webrender-wrench-android-debug
|
|
|
|
android-build: build-android-aarch64/debug
|
|
|
|
fetches:
|
|
|
|
webrender-wrench-android-debug:
|
|
|
|
- 'wrench-debug.apk'
|
|
|
|
- 'reftests.tar.gz'
|
2020-07-20 18:51:45 +03:00
|
|
|
- 'mozdevice.tar.gz'
|
2019-06-08 11:59:23 +03:00
|
|
|
android-build:
|
|
|
|
- 'mozharness.zip'
|
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
checkout: false
|
|
|
|
run-as-root: true
|
|
|
|
command: >-
|
2019-07-30 04:37:54 +03:00
|
|
|
export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-debug.apk &&
|
|
|
|
export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
|
|
|
|
export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
|
2020-07-20 18:51:45 +03:00
|
|
|
export PYTHONPATH=$MOZ_FETCHES_DIR/mozdevice:$PYTHONPATH &&
|
2019-06-08 11:59:23 +03:00
|
|
|
python2.7 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
|
|
|
|
treeherder:
|
|
|
|
platform: android-hw-p2-8-0-arm7-api-16/debug
|
|
|
|
symbol: WR(wrench)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
2020-07-16 23:30:07 +03:00
|
|
|
- 'testing/mozharness/scripts/android_*.py'
|
|
|
|
- 'testing/mozharness/configs/android/*.py'
|
2020-07-20 18:51:45 +03:00
|
|
|
- 'testing/mozbase/mozdevice/**'
|
2019-06-08 11:59:23 +03:00
|
|
|
|
|
|
|
android-hw-p2-opt:
|
|
|
|
description: Run opt wrench reftests on Android Pixel2
|
|
|
|
worker-type: t-bitbar-gw-unit-p2
|
|
|
|
worker:
|
|
|
|
max-run-time: 5400
|
|
|
|
artifacts:
|
|
|
|
- type: directory
|
|
|
|
name: public/build/logs
|
|
|
|
path: build/logs
|
|
|
|
env:
|
|
|
|
MOZHARNESS_SCRIPT: android_wrench.py
|
|
|
|
MOZHARNESS_CONFIG: android/wrench.py
|
|
|
|
MOZ_FETCHES_DIR: fetches
|
|
|
|
dependencies:
|
|
|
|
webrender-wrench-android-release: webrender-wrench-android-release
|
2020-06-11 22:25:07 +03:00
|
|
|
android-build: build-android-aarch64-shippable/opt
|
2019-06-08 11:59:23 +03:00
|
|
|
fetches:
|
|
|
|
webrender-wrench-android-release:
|
|
|
|
- 'wrench-release.apk'
|
|
|
|
- 'reftests.tar.gz'
|
2020-07-20 18:51:45 +03:00
|
|
|
- 'mozdevice.tar.gz'
|
2019-06-08 11:59:23 +03:00
|
|
|
android-build:
|
|
|
|
- 'mozharness.zip'
|
|
|
|
run:
|
|
|
|
using: run-task
|
|
|
|
checkout: false
|
|
|
|
run-as-root: true
|
|
|
|
command: >-
|
2019-07-30 04:37:54 +03:00
|
|
|
export WRENCH_APK=$MOZ_FETCHES_DIR/wrench-release.apk &&
|
|
|
|
export WRENCH_REFTESTS=$MOZ_FETCHES_DIR/reftests &&
|
|
|
|
export MOZHARNESS_PATH=$MOZ_FETCHES_DIR/mozharness &&
|
2020-07-20 18:51:45 +03:00
|
|
|
export PYTHONPATH=$MOZ_FETCHES_DIR/mozdevice:$PYTHONPATH &&
|
2019-06-08 11:59:23 +03:00
|
|
|
python2.7 ${MOZHARNESS_PATH}/scripts/${MOZHARNESS_SCRIPT} --config-file ${MOZHARNESS_PATH}/configs/${MOZHARNESS_CONFIG}
|
|
|
|
treeherder:
|
|
|
|
platform: android-hw-p2-8-0-arm7-api-16/opt
|
|
|
|
symbol: WR(wrench)
|
|
|
|
when:
|
|
|
|
files-changed:
|
|
|
|
- 'gfx/wr/**'
|
2020-07-16 23:30:07 +03:00
|
|
|
- 'testing/mozharness/scripts/android_*.py'
|
|
|
|
- 'testing/mozharness/configs/android/*.py'
|
2020-07-20 18:51:45 +03:00
|
|
|
- 'testing/mozbase/mozdevice/**'
|