зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1555479 - Run wrench reftests on a Pixel2 in bitbar. r=jrmuizel
Note that on the bitbar workers we don't get to use a gecko checkout, so we need to fetch the mozharness.zip and wrench reftests as artifacts from other jobs. Differential Revision: https://phabricator.services.mozilla.com/D33409 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
66aa3df4ca
Коммит
1aa9dd7816
|
@ -248,9 +248,14 @@ jobs:
|
|||
- type: file
|
||||
name: public/build/wrench-debug.apk
|
||||
path: /builds/worker/checkouts/gecko/gfx/wr/target/android-artifacts/app/build/outputs/apk/debug/app-debug.apk
|
||||
- type: file
|
||||
name: public/build/reftests.tar.gz
|
||||
path: /builds/worker/checkouts/gecko/gfx/wr/wrench/reftests.tar.gz
|
||||
run:
|
||||
using: run-task
|
||||
command: '$GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh debug'
|
||||
command: >-
|
||||
$GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh debug &&
|
||||
cd $GECKO_PATH/gfx/wr/wrench && tar czf reftests.tar.gz reftests/
|
||||
toolchains:
|
||||
- android-gradle-dependencies
|
||||
- android-ndk-linux
|
||||
|
@ -275,9 +280,14 @@ jobs:
|
|||
- type: file
|
||||
name: public/build/wrench-release.apk
|
||||
path: /builds/worker/checkouts/gecko/gfx/wr/target/android-artifacts/app/build/outputs/apk/release/app-release-unsigned.apk
|
||||
- type: file
|
||||
name: public/build/reftests.tar.gz
|
||||
path: /builds/worker/checkouts/gecko/gfx/wr/wrench/reftests.tar.gz
|
||||
run:
|
||||
using: run-task
|
||||
command: '$GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh release'
|
||||
command: >-
|
||||
$GECKO_PATH/taskcluster/scripts/misc/wrench-android-build.sh release &&
|
||||
cd $GECKO_PATH/gfx/wr/wrench && tar czf reftests.tar.gz reftests/
|
||||
toolchains:
|
||||
- android-gradle-dependencies
|
||||
- android-ndk-linux
|
||||
|
@ -293,8 +303,8 @@ jobs:
|
|||
- 'taskcluster/scripts/misc/wrench-android-build.sh'
|
||||
- 'mobile/android/debug_sign_tool.py'
|
||||
|
||||
android-debug:
|
||||
description: Run debug wrench reftests on Android
|
||||
android-emulator-debug:
|
||||
description: Run debug wrench reftests on Android emulator
|
||||
worker-type: terraform-packet/gecko-t-linux # privileged:true doesn't work on b-linux
|
||||
worker:
|
||||
max-run-time: 5400
|
||||
|
@ -333,8 +343,8 @@ jobs:
|
|||
- 'testing/mozharness/scripts/android_wrench.py'
|
||||
- 'testing/mozharness/configs/android/wrench.py'
|
||||
|
||||
android-release:
|
||||
description: Run release wrench reftests on Android
|
||||
android-emulator-release:
|
||||
description: Run release wrench reftests on Android emulator
|
||||
worker-type: terraform-packet/gecko-t-linux # privileged:true doesn't work on b-linux
|
||||
worker:
|
||||
max-run-time: 5400
|
||||
|
@ -372,3 +382,83 @@ jobs:
|
|||
- 'gfx/wr/**'
|
||||
- 'testing/mozharness/scripts/android_wrench.py'
|
||||
- 'testing/mozharness/configs/android/wrench.py'
|
||||
|
||||
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'
|
||||
android-build:
|
||||
- 'mozharness.zip'
|
||||
run:
|
||||
using: run-task
|
||||
checkout: false
|
||||
run-as-root: true
|
||||
command: >-
|
||||
export WRENCH_APK=$PWD/$MOZ_FETCHES_DIR/wrench-debug.apk &&
|
||||
export WRENCH_REFTESTS=$PWD/$MOZ_FETCHES_DIR/reftests &&
|
||||
export MOZHARNESS_PATH=$PWD/$MOZ_FETCHES_DIR/mozharness &&
|
||||
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/**'
|
||||
- 'testing/mozharness/scripts/android_wrench.py'
|
||||
- 'testing/mozharness/configs/android/wrench.py'
|
||||
|
||||
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
|
||||
android-build: build-android-aarch64/opt
|
||||
fetches:
|
||||
webrender-wrench-android-release:
|
||||
- 'wrench-release.apk'
|
||||
- 'reftests.tar.gz'
|
||||
android-build:
|
||||
- 'mozharness.zip'
|
||||
run:
|
||||
using: run-task
|
||||
checkout: false
|
||||
run-as-root: true
|
||||
command: >-
|
||||
export WRENCH_APK=$PWD/$MOZ_FETCHES_DIR/wrench-release.apk &&
|
||||
export WRENCH_REFTESTS=$PWD/$MOZ_FETCHES_DIR/reftests &&
|
||||
export MOZHARNESS_PATH=$PWD/$MOZ_FETCHES_DIR/mozharness &&
|
||||
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/**'
|
||||
- 'testing/mozharness/scripts/android_wrench.py'
|
||||
- 'testing/mozharness/configs/android/wrench.py'
|
||||
|
|
Загрузка…
Ссылка в новой задаче