Skip to content
Permalink
Browse files

Move magicleap build to taskcluster.

  • Loading branch information...
jdm committed May 10, 2019
1 parent c1c60d0 commit b1cc493c395f8ba30eea53ee066e7329a24d45f4
Showing with 27 additions and 14 deletions.
  1. +1 −13 etc/ci/buildbot_steps.yml
  2. +26 −1 etc/taskcluster/decision_task.py
@@ -126,19 +126,6 @@ linux-nightly:
- rm -rf ./python/_virtualenv
- ./etc/ci/clean_build_artifacts.sh

magicleap:
env:
MAGICLEAP_SDK: /Users/servo/magicleap/v0.17.0
MLCERT: /Users/servo/magicleap/certs/TempSharedCert.cert
commands:
- ./mach clean-nightlies --keep 3 --force
- ./mach clean-cargo-cache --keep 3 --force
- ./etc/ci/clean_build_artifacts.sh
- env -u OPENSSL_INCLUDE_DIR -u OPENSSL_LIB_DIR ./mach build --magicleap --dev
- ./mach package --magicleap --dev
- bash ./etc/ci/lockfile_changed.sh
- ./etc/ci/clean_build_artifacts.sh

magicleap-nightly:
env:
MAGICLEAP_SDK: /Users/servo/magicleap/v0.17.0
@@ -196,6 +183,7 @@ mac-rel-wpt3: []
android-nightly: []
windows-msvc-nightly: []
mac-nightly: []
magicleap: []

# No longer maintained
arm32: []
@@ -18,7 +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 = lambda: None
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.)
@@ -796,6 +796,31 @@ def macos_build_task(name):
)


def magicleap_dev():
return (
macos_build_task("Dev build")
.with_treeherder("MagicLeap aarch64", "Release")
.with_curl_script(
"https://servo-deps.s3.amazonaws.com/magicleap/macos-sdk-v0.17.0.tar.gz",
"$HOME/magicleap_sdk.tar.gz"
)
.with_curl_script(
"https://servo-deps.s3.amazonaws.com/magicleap/TempSharedCert.zip",
"$HOME/certs.zip"
)
.with_script("""
mkdir -p $HOME/magicleap
tar xf $HOME/magicleap_sdk.tar.gz -C "$HOME/magicleap"
unzip -d $HOME/magicleap/certs -u "$HOME/certs.zip"
""")
.with_script("""
export OPENSSL_INCLUDE_DIR=
export OPENSSL_LIB_DIR=
./mach build --magicleap --dev
./mach package --magicleap --dev
""")


CONFIG.task_name_template = "Servo: %s"
CONFIG.index_prefix = "project.servo.servo"
CONFIG.docker_image_build_worker_type = "servo-docker-worker"

0 comments on commit b1cc493

Please sign in to comment.
You can’t perform that action at this time.