Skip to content

Support running vello in CI #36823

@sagudev

Description

@sagudev

currently I use this patch:

From fc0fc5470df7c62caebd3ca64b8dbfef14ed674b Mon Sep 17 00:00:00 2001
From: sagudev <16504129+sagudev@users.noreply.github.com>
Date: Sat, 3 May 2025 11:05:38 +0200
Subject: [PATCH] run vello in CI

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
---
 ports/servoshell/Cargo.toml | 2 +-
 python/servo/try_parser.py  | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ports/servoshell/Cargo.toml b/ports/servoshell/Cargo.toml
index cc4fdaa89b..f035396029 100644
--- a/ports/servoshell/Cargo.toml
+++ b/ports/servoshell/Cargo.toml
@@ -37,7 +37,7 @@ ProductName = "Servo"
 [features]
 crown = ["libservo/crown"]
 debugmozjs = ["libservo/debugmozjs"]
-default = ["max_log_level", "webdriver", "webgpu", "webxr"]
+default = ["max_log_level", "webdriver", "webgpu", "webxr", "vello"]
 jitspew = ["libservo/jitspew"]
 js_backtrace = ["libservo/js_backtrace"]
 max_log_level = ["log/release_max_level_info"]
diff --git a/python/servo/try_parser.py b/python/servo/try_parser.py
index 9a6b31693b..f86139e450 100644
--- a/python/servo/try_parser.py
+++ b/python/servo/try_parser.py
@@ -105,6 +105,11 @@ def handle_preset(s: str) -> Optional[JobConfig]:
                          wpt_args="_webgpu",  # run only webgpu cts
                          profile="production",  # WebGPU works to slow with debug assert
                          unit_tests=False)  # production profile does not work with unit-tests
+    elif any(word in s for word in ["vello"]):
+        return JobConfig("Vello WPT", Workflow.LINUX,
+                         wpt=True,  # reftests are mode for new layout
+                         wpt_args="--pref dom_canvas_vello_enabled",
+                         )
     elif any(word in s for word in ["lint", "tidy"]):
         return JobConfig("Lint", Workflow.LINT)
     else:
-- 
2.45.2

most importantly we need to be able to pass additional build args to enable vello feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions