Support mac wpt builds (#29867)

* Add wpt-mac builds

* Fix wpt reporting check run tag

* There can only be five concurrent mac runners
This commit is contained in:
Samson 2023-08-11 19:26:15 +02:00 committed by GitHub
parent c46631a1ce
commit efa38401c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 139 additions and 62 deletions

View file

@ -24,6 +24,17 @@ from mach.decorators import (
from servo.command_base import CommandBase, cd, call
VALID_TRY_BRACHES = [
"try",
"try-linux",
"try-mac",
"try-windows",
"try-wpt",
"try-wpt-2020",
"try-wpt-mac",
"try-wpt-mac-2020"
]
@CommandProvider
class MachCommands(CommandBase):
@ -282,7 +293,6 @@ class MachCommands(CommandBase):
def try_jobs(self, jobs):
branches = []
# we validate branches because force pushing is destructive
VALID_TRY_BRACHES = ["try", "try-linux", "try-mac", "try-windows", "try-wpt", "try-wpt-2020"]
for job in jobs:
# branches must start with try-
if "try" not in job: