forked from mozilla/positron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.taskcluster.yml
69 lines (69 loc) · 2.23 KB
/
.taskcluster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: 0
metadata:
name: "Positron"
description: "continuous integration for Positron"
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
tasks:
- provisionerId: "{{ taskcluster.docker.provisionerId }}"
workerType: "{{ taskcluster.docker.workerType }}"
extra:
github:
env: true
events:
- pull_request.opened
- pull_request.synchronize
- pull_request.reopened
- push
payload:
env:
GECKO_DEV_URL: https://github.com/mozilla/gecko-dev
MOZCONFIG: ./positron/config/mozconfig
SHELL: /bin/bash
maxRunTime: 14400 # 60 * 60 * 4 seconds (i.e. four hours)
image: "mykmelez/docker-build-positron:latest"
command:
- /bin/bash
- -c
- >
git config --global gc.auto 0 &&
tc-vcs checkout repo $GECKO_DEV_URL $GITHUB_HEAD_REPO_URL $GITHUB_HEAD_BRANCH &&
cd repo/ &&
git submodule update --init &&
./mach build
metadata:
name: "check_out_and_build_opt"
description: "check out the repository and build optimized"
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
- provisionerId: "{{ taskcluster.docker.provisionerId }}"
workerType: "{{ taskcluster.docker.workerType }}"
extra:
github:
env: true
events:
- pull_request.opened
- pull_request.synchronize
- pull_request.reopened
- push
payload:
env:
GECKO_DEV_URL: https://github.com/mozilla/gecko-dev
MOZCONFIG: ./positron/config/mozconfig-debug
SHELL: /bin/bash
maxRunTime: 14400 # 60 * 60 * 4 seconds (i.e. four hours)
image: "mykmelez/docker-build-positron:latest"
command:
- /bin/bash
- -c
- >
git config --global gc.auto 0 &&
tc-vcs checkout repo $GECKO_DEV_URL $GITHUB_HEAD_REPO_URL $GITHUB_HEAD_BRANCH &&
cd repo/ &&
git submodule update --init &&
./mach build
metadata:
name: "check_out_and_build_debug"
description: "check out the repository and build debug"
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"