mirror of
https://github.com/servo/servo.git
synced 2025-09-09 22:48:21 +01:00
Auto merge of #23304 - jdm:nightly-taskcluster, r=SimonSapin
Transfer mac/windows/android nightly builds to Taskcluster Fixes #23303. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23304) <!-- Reviewable:end -->
This commit is contained in:
commit
38e60136b8
5 changed files with 139 additions and 57 deletions
|
@ -43,16 +43,6 @@ mac-rel-css2:
|
|||
- ./mach test-wpt --release --processes 4 --total-chunks 6 --this-chunk 6 --log-raw test-wpt.log --log-errorsummary wpt-errorsummary.log --always-succeed
|
||||
- ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default
|
||||
|
||||
mac-nightly:
|
||||
- ./mach clean-nightlies --keep 3 --force
|
||||
- ./mach clean-cargo-cache --keep 3 --force
|
||||
- env PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig ./mach build --release
|
||||
- ./mach package --release
|
||||
- ./mach upload-nightly mac
|
||||
- ./etc/ci/update-wpt-checkout fetch-and-update-expectations
|
||||
- ./etc/ci/update-wpt-checkout open-pr
|
||||
- ./etc/ci/update-wpt-checkout cleanup
|
||||
|
||||
linux-rel-intermittent:
|
||||
env:
|
||||
CC: gcc-5
|
||||
|
@ -144,23 +134,6 @@ android-mac:
|
|||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- ./etc/ci/clean_build_artifacts.sh
|
||||
|
||||
android-nightly:
|
||||
env:
|
||||
HOST_CC: gcc-5
|
||||
HOST_CXX: g++-5
|
||||
commands:
|
||||
- ./mach clean-nightlies --keep 3 --force
|
||||
- ./mach clean-cargo-cache --keep 3 --force
|
||||
- ./etc/ci/clean_build_artifacts.sh
|
||||
- ./mach bootstrap-android --accept-all-licences --build
|
||||
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach build --android --release
|
||||
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach package --android --release --maven
|
||||
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach build --target=i686-linux-android --release
|
||||
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach package --target=i686-linux-android --release --maven
|
||||
- ./mach upload-nightly android
|
||||
- ./mach upload-nightly maven
|
||||
- ./etc/ci/clean_build_artifacts.sh
|
||||
|
||||
magicleap:
|
||||
env:
|
||||
MAGICLEAP_SDK: /Users/servo/magicleap/v0.17.0
|
||||
|
@ -248,16 +221,6 @@ arm64:
|
|||
- bash ./etc/ci/lockfile_changed.sh
|
||||
- ./etc/ci/clean_build_artifacts.sh
|
||||
|
||||
windows-msvc-nightly:
|
||||
env:
|
||||
CARGO_HOME: C:\buildbot\.cargo
|
||||
commands:
|
||||
- mach.bat clean-cargo-cache --keep 3 --force
|
||||
- mach.bat clean-nightlies --keep 3 --force
|
||||
- mach.bat build --release
|
||||
- mach.bat package --release
|
||||
- mach.bat upload-nightly windows-msvc
|
||||
|
||||
# Moved to Taskcluster
|
||||
linux-dev: []
|
||||
mac-dev-unit: []
|
||||
|
@ -265,3 +228,6 @@ windows-msvc-dev: []
|
|||
android: []
|
||||
android-x86: []
|
||||
mac-rel-wpt1: []
|
||||
android-nightly: []
|
||||
windows-msvc-nightly: []
|
||||
mac-nightly: []
|
||||
|
|
|
@ -92,7 +92,12 @@ function unsafe_open_pull_request() {
|
|||
git checkout "${BRANCH_NAME}" || return 0
|
||||
|
||||
if [[ -z "${WPT_SYNC_TOKEN+set}" ]]; then
|
||||
echo "Github auth token missing from WPT_SYNC_TOKEN."
|
||||
SECRET_RESPONSE=$(curl $TASKCLUSTER_PROXY_URL/api/secrets/v1/secret/project/servo/wpt-sync)
|
||||
WPT_SYNC_TOKEN=`echo "${OPEN_PR_RESPONSE}" | jq '.token'`
|
||||
fi
|
||||
|
||||
if [[ -z "${WPT_SYNC_TOKEN}" ]]; then
|
||||
echo "Github auth token missing from .wpt-token file."
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue