mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add .taskcluster.yml
Template mostly from https://tools.taskcluster.net/quickstart/. Steps from the linux-dev builder in etc/ci/buildbot_steps.yml are in taskcluster-test.sh.
This commit is contained in:
parent
05adae23f9
commit
5ccca8c9b0
2 changed files with 57 additions and 0 deletions
34
.taskcluster.yml
Normal file
34
.taskcluster.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
version: 0
|
||||
metadata:
|
||||
name: servo
|
||||
description: >-
|
||||
A modern, high-performance browser engine designed for both application
|
||||
and embedded use.
|
||||
owner: '{{ event.head.user.email }}'
|
||||
source: '{{ event.head.repo.url }}'
|
||||
tasks:
|
||||
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
|
||||
workerType: '{{ taskcluster.docker.workerType }}'
|
||||
extra:
|
||||
github:
|
||||
events: []
|
||||
payload:
|
||||
maxRunTime: 3600
|
||||
image: servobrowser/servo-linux-dev
|
||||
command:
|
||||
- /bin/bash
|
||||
- '--login'
|
||||
- '-c'
|
||||
- '-x'
|
||||
- >-
|
||||
git clone {{event.head.repo.url}} servo &&
|
||||
cd servo &&
|
||||
git config advice.detachedHead false &&
|
||||
git checkout {{event.head.sha}} &&
|
||||
etc/ci/taskcluster-test.sh
|
||||
metadata:
|
||||
name: linux-tests
|
||||
description: Run Linux tests.
|
||||
owner: '{{ event.head.user.email }}'
|
||||
source: '{{ event.head.repo.url }}'
|
||||
|
23
etc/ci/taskcluster-test.sh
Executable file
23
etc/ci/taskcluster-test.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
# Update this from the linux-dev builder in etc/ci/buildbot_steps.yml
|
||||
./mach test-tidy --no-progress --all
|
||||
./mach test-tidy --no-progress --self-test
|
||||
env CC=gcc-5 CXX=g++-5 ./mach build --dev
|
||||
env ./mach test-unit
|
||||
env ./mach package --dev
|
||||
env ./mach build-cef
|
||||
env ./mach build --dev --no-default-features --features default-except-unstable
|
||||
./mach build-geckolib
|
||||
./mach test-stylo
|
||||
bash ./etc/ci/lockfile_changed.sh
|
||||
bash ./etc/ci/manifest_changed.sh
|
||||
bash ./etc/ci/check_no_panic.sh
|
Loading…
Add table
Add a link
Reference in a new issue