Add android-mac build job to taskcluster.

This commit is contained in:
Josh Matthews 2019-05-09 15:19:58 -04:00
parent af077f8cf7
commit 34d3c5e1ce
2 changed files with 15 additions and 12 deletions

View file

@ -18,8 +18,7 @@ def main(task_for):
if task_for == "github-push":
# FIXME https://github.com/servo/servo/issues/22325 implement these:
magicleap_dev = linux_arm32_dev = linux_arm64_dev = \
android_arm32_dev_from_macos = lambda: None
magicleap_dev = linux_arm32_dev = linux_arm64_dev = lambda: None
# FIXME https://github.com/servo/servo/issues/22187
# In-emulator testing is disabled for now. (Instead we only compile.)
@ -36,6 +35,7 @@ def main(task_for):
macos_unit,
magicleap_dev,
android_arm32_dev,
android_arm32_dev_from_macos,
android_arm32_release,
android_x86_wpt,
linux_arm32_dev,
@ -251,6 +251,18 @@ def with_rust_nightly():
)
def android_arm32_dev_from_macos():
return (
macos_build_task("Dev build (macOS)")
.with_treeherder("Android ARMv7")
.with_script("""
./mach bootstrap-android --accept-all-licences --build
./mach build --android --dev
""")
.find_or_create("android_arm32_dev.macos." + CONFIG.git_sha)
)
def android_arm32_dev():
return (
android_build_task("Dev build")