Taskcluster: Add Buildbot-equivalent Android x86 task

CC https://github.com/servo/servo/issues/22187, https://github.com/servo/servo/pull/22257
This commit is contained in:
Simon Sapin 2018-12-11 20:10:04 +01:00
parent 554ee4e59d
commit 72492b58db

View file

@ -16,6 +16,7 @@ def main(task_for, mock=False):
linux_tidy_unit() linux_tidy_unit()
android_arm32_dev() android_arm32_dev()
android_arm32_release() android_arm32_release()
android_x86_release()
windows_unit() windows_unit()
macos_unit() macos_unit()
@ -25,7 +26,7 @@ def main(task_for, mock=False):
windows_release() windows_release()
linux_wpt() linux_wpt()
linux_build_task("Indexed by task definition").find_or_create() linux_build_task("Indexed by task definition").find_or_create()
android_x86() android_x86_wpt()
# https://tools.taskcluster.net/hooks/project-servo/daily # https://tools.taskcluster.net/hooks/project-servo/daily
elif task_for == "daily": elif task_for == "daily":
@ -145,8 +146,8 @@ def android_arm32_release():
) )
def android_x86(): def android_x86_release():
build_task = ( return (
android_build_task("Release build") android_build_task("Release build")
.with_treeherder("Android x86") .with_treeherder("Android x86")
.with_script("./mach build --target i686-linux-android --release") .with_script("./mach build --target i686-linux-android --release")
@ -156,6 +157,10 @@ def android_x86():
) )
.find_or_create("build.android_x86_release." + CONFIG.git_sha) .find_or_create("build.android_x86_release." + CONFIG.git_sha)
) )
def android_x86_wpt():
build_task = android_x86_release()
return ( return (
DockerWorkerTask("WPT") DockerWorkerTask("WPT")
.with_treeherder("Android x86") .with_treeherder("Android x86")