mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Taskcluster: build docs
This commit is contained in:
parent
e5ae3464cc
commit
a35d16a09c
1 changed files with 18 additions and 6 deletions
|
@ -13,7 +13,7 @@ def main(task_for, mock=False):
|
|||
if CONFIG.git_ref in ["refs/heads/auto", "refs/heads/try", "refs/heads/try-taskcluster"]:
|
||||
CONFIG.treeherder_repo_name = "servo-" + CONFIG.git_ref.split("/")[-1]
|
||||
|
||||
linux_tidy_unit()
|
||||
linux_tidy_unit_docs()
|
||||
android_arm32_dev()
|
||||
android_arm32_release()
|
||||
android_x86_release()
|
||||
|
@ -69,10 +69,10 @@ windows_sparse_checkout = [
|
|||
]
|
||||
|
||||
|
||||
def linux_tidy_unit():
|
||||
def linux_tidy_unit_docs():
|
||||
return (
|
||||
linux_build_task("Tidy + dev build + unit tests")
|
||||
.with_treeherder("Linux x64", "Tidy+Unit")
|
||||
linux_build_task("Tidy + dev build + unit tests + docs")
|
||||
.with_treeherder("Linux x64", "Tidy+Unit+Doc")
|
||||
.with_script("""
|
||||
./mach test-tidy --no-progress --all
|
||||
./mach build --dev
|
||||
|
@ -81,11 +81,22 @@ def linux_tidy_unit():
|
|||
./mach build --dev --libsimpleservo
|
||||
./mach build --dev --no-default-features --features default-except-unstable
|
||||
./mach test-tidy --no-progress --self-test
|
||||
|
||||
./etc/memory_reports_over_time.py --test
|
||||
./etc/taskcluster/mock.py
|
||||
./etc/ci/lockfile_changed.sh
|
||||
./etc/ci/check_no_panic.sh
|
||||
""").create()
|
||||
|
||||
./mach doc
|
||||
cd target/doc
|
||||
git init
|
||||
time git add .
|
||||
git -c user.name="Taskcluster" -c user.email="" \
|
||||
commit -q -m "Rebuild Servo documentation"
|
||||
git bundle create docs.bundle HEAD
|
||||
""")
|
||||
.with_artifacts("/repo/target/doc/docs.bundle")
|
||||
.find_or_create("docs." + CONFIG.git_sha)
|
||||
)
|
||||
|
||||
|
||||
|
@ -98,7 +109,8 @@ def macos_unit():
|
|||
./mach test-unit
|
||||
./mach package --dev
|
||||
./etc/ci/lockfile_changed.sh
|
||||
""").create()
|
||||
""")
|
||||
.create()
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue