mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Schedule a release build for WPT daily job if necessary.
This commit is contained in:
parent
6fb7a8cdc7
commit
2406d0973a
1 changed files with 8 additions and 4 deletions
|
@ -475,8 +475,7 @@ def macos_nightly():
|
|||
|
||||
|
||||
def update_wpt():
|
||||
# Reuse the release build that was made for landing the PR
|
||||
build_task = decisionlib.Task.find("build.macos_x64_release." + CONFIG.git_sha)
|
||||
build_task = macos_release_build()
|
||||
update_task = (
|
||||
macos_task("WPT update")
|
||||
.with_python2()
|
||||
|
@ -504,8 +503,8 @@ def update_wpt():
|
|||
)
|
||||
|
||||
|
||||
def macos_wpt():
|
||||
build_task = (
|
||||
def macos_release_build():
|
||||
return (
|
||||
macos_build_task("Release build")
|
||||
.with_treeherder("macOS x64", "Release")
|
||||
.with_script("""
|
||||
|
@ -520,6 +519,10 @@ def macos_wpt():
|
|||
.with_artifacts("repo/target.tar.gz")
|
||||
.find_or_create("build.macos_x64_release." + CONFIG.git_sha)
|
||||
)
|
||||
|
||||
|
||||
def macos_wpt():
|
||||
build_task = macos_release_build()
|
||||
def macos_run_task(name):
|
||||
task = macos_task(name).with_python2()
|
||||
return (
|
||||
|
@ -771,6 +774,7 @@ def macos_build_task(name):
|
|||
.with_repo()
|
||||
.with_python2()
|
||||
.with_rustup()
|
||||
.with_index_and_artifacts_expire_in(build_artifacts_expire_in)
|
||||
# Debugging for surprising generic-worker behaviour
|
||||
.with_early_script("ls")
|
||||
.with_script("ls target || true")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue