diff options
Diffstat (limited to 'taskcluster/ci/toolchain')
-rw-r--r-- | taskcluster/ci/toolchain/kind.yml | 14 | ||||
-rw-r--r-- | taskcluster/ci/toolchain/linux.yml | 66 | ||||
-rw-r--r-- | taskcluster/ci/toolchain/windows.yml | 23 |
3 files changed, 103 insertions, 0 deletions
diff --git a/taskcluster/ci/toolchain/kind.yml b/taskcluster/ci/toolchain/kind.yml new file mode 100644 index 000000000..acc67a57f --- /dev/null +++ b/taskcluster/ci/toolchain/kind.yml @@ -0,0 +1,14 @@ +# 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/. + +implementation: taskgraph.task.transform:TransformTask + +transforms: + - taskgraph.transforms.build_attrs:transforms + - taskgraph.transforms.job:transforms + - taskgraph.transforms.task:transforms + +jobs-from: + - linux.yml + - windows.yml diff --git a/taskcluster/ci/toolchain/linux.yml b/taskcluster/ci/toolchain/linux.yml new file mode 100644 index 000000000..9eeadf3ef --- /dev/null +++ b/taskcluster/ci/toolchain/linux.yml @@ -0,0 +1,66 @@ +# 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/. + +linux64-clang/opt: + description: "Clang toolchain build" + treeherder: + kind: build + platform: linux64/opt + symbol: Cc(Clang) + tier: 1 + run: + using: toolchain-script + script: build-clang-linux.sh + worker-type: aws-provisioner-v1/gecko-{level}-b-linux + worker: + implementation: docker-worker + docker-image: {in-tree: desktop-build} + max-run-time: 36000 + when: + files-changed: + - 'build/build-clang/**' + - 'taskcluster/scripts/misc/build-clang-linux.sh' + - 'taskcluster/taskgraph/transforms/job/toolchain.py' + +linux64-gcc/opt: + description: "GCC toolchain build" + treeherder: + kind: build + platform: linux64/opt + symbol: Cc(GCC) + tier: 1 + run: + using: toolchain-script + script: build-gcc-linux.sh + worker-type: aws-provisioner-v1/gecko-{level}-b-linux + worker: + implementation: docker-worker + docker-image: {in-tree: desktop-build} + max-run-time: 36000 + when: + files-changed: + - 'build/unix/build-gcc/**' + - 'taskcluster/scripts/misc/build-gcc-linux.sh' + - 'taskcluster/taskgraph/transforms/job/toolchain.py' + +linux64-binutils/opt: + description: "Binutils toolchain build" + treeherder: + kind: build + platform: linux64/opt + symbol: Cc(binutils) + tier: 1 + run: + using: toolchain-script + script: build-binutils-linux.sh + worker-type: aws-provisioner-v1/gecko-{level}-b-linux + worker: + implementation: docker-worker + docker-image: {in-tree: desktop-build} + max-run-time: 36000 + when: + files-changed: + - 'build/unix/build-binutils/**' + - 'taskcluster/scripts/misc/build-binutils-linux.sh' + - 'taskcluster/taskgraph/transforms/job/toolchain.py' diff --git a/taskcluster/ci/toolchain/windows.yml b/taskcluster/ci/toolchain/windows.yml new file mode 100644 index 000000000..b5b950616 --- /dev/null +++ b/taskcluster/ci/toolchain/windows.yml @@ -0,0 +1,23 @@ +# 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/. + +win32-clang-cl/opt: + description: "Clang-cl toolchain build" + treeherder: + kind: build + platform: windows-2012-32/opt + symbol: Cc(ClangCL) + tier: 2 + worker-type: aws-provisioner-v1/gecko-{level}-b-win2012 + worker: + implementation: generic-worker + max-run-time: 36000 + run: + using: toolchain-script + script: build-clang-windows.sh + when: + files-changed: + - 'build/build-clang/**' + - 'taskcluster/scripts/misc/build-clang-windows.sh' + - 'taskcluster/taskgraph/transforms/job/toolchain.py' |