aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-11-27 12:25:39 -0500
committerGitHub <noreply@github.com>2019-11-27 12:25:39 -0500
commit1c7f9d8e0c97a84457877eb0d7ee50a434d46ddd (patch)
tree82a3143084202ff763d83ced3d6c6a5349e536ff
parenta020522f37241001b01ee77dab562d50b6e7a924 (diff)
downloadservo-jdm-patch-34.tar.gz
servo-jdm-patch-34.zip
Add nightly task to build and run tests with latest webrender.jdm-patch-34
-rw-r--r--etc/taskcluster/decision_task.py23
1 files changed, 18 insertions, 5 deletions
diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py
index 5be3deef1d3..d015806a00a 100644
--- a/etc/taskcluster/decision_task.py
+++ b/etc/taskcluster/decision_task.py
@@ -113,6 +113,7 @@ def tasks(task_for):
update_wpt()
magicleap_nightly()
uwp_nightly()
+ webrender_nightly()
# These are disabled in a "real" decision task,
@@ -529,6 +530,10 @@ def windows_nightly():
)
+def webrender_nightly():
+ return linux_wpt_common(total_chunks=4, layout_2020=False, webrender_nightly=True)
+
+
def linux_nightly():
return (
linux_build_task("Nightly build and upload")
@@ -644,14 +649,14 @@ def macos_wpt():
def linux_wpt():
- linux_wpt_common(total_chunks=4, layout_2020=False)
+ linux_wpt_common(total_chunks=4, layout_2020=False, webrender_nightly=False)
def linux_wpt_layout_2020():
- linux_wpt_common(total_chunks=1, layout_2020=True)
+ linux_wpt_common(total_chunks=1, layout_2020=True, webrender_nightly=False)
-def linux_wpt_common(total_chunks, layout_2020):
+def linux_wpt_common(total_chunks, layout_2020, webrender_nightly):
if layout_2020:
name_prefix = "Layout 2020 "
build_args = "--with-layout-2020"
@@ -660,20 +665,28 @@ def linux_wpt_common(total_chunks, layout_2020):
name_prefix = ""
build_args = ""
index_key_suffix = ""
+
+ if webrender_nightly:
+ name_prefix += "WebRender nightly "
+ index_key_suffix += "_webrender"
+ pre_script = "cargo update -p webrender"
+ else:
+ pre_script = ""
+
release_build_task = (
linux_build_task(name_prefix + "Release build, with debug assertions")
.with_treeherder("Linux x64", "Release+A")
.with_script("""
+ %s
time ./mach rustc -V
time ./mach fetch
./mach build --release --with-debug-assertions %s -p servo
- ./etc/ci/lockfile_changed.sh
tar -czf /target.tar.gz \
target/release/servo \
target/release/build/osmesa-src-*/output \
target/release/build/osmesa-src-*/out/lib/gallium
sccache --show-stats
- """ % build_args)
+ """ % (pre_script, build_args))
.with_artifacts("/target.tar.gz")
.find_or_create("build.linux_x64%s_release_w_assertions.%s" % (
index_key_suffix,