blob: 899b3aadc740ac08fb983dee030100ef4e72b30e (
plain)
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
|
# 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/.
---
job-defaults:
always-target: true
platform: linux64/debug
worker-type: t-linux-xlarge-source
attributes:
code-review: true
worker:
docker-image: {in-tree: static-analysis-build}
max-run-time: 5400
treeherder:
kind: other
tier: 2
run:
using: run-task
tooltool-downloads: public
comm-checkout: true
fetches:
toolchain:
- linux64-cbindgen
- linux64-nasm
- linux64-node
optimization:
skip-unless-changed-no-suite:
- 'comm/**/*.c'
- 'comm/**/*.cc'
- 'comm/**/*.cpp'
- 'comm/**/*.m'
- 'comm/**/*.mm'
- 'comm/**/*.h'
format:
description: Run clang-format on C/C++ patches
treeherder:
symbol: cpp(clang-format)
run:
cwd: '{checkout}'
command: >-
./comm/taskcluster/scripts/source-test-clang-format.sh {changed_files}
fetches:
toolchain:
- linux64-clang
- linux64-clang-tidy
- linux64-rust
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
worker:
artifacts:
- type: file
name: public/code-review/clang-format.json
path: /builds/worker/clang-format.json
- type: file
name: public/code-review/clang-format.diff
path: /builds/worker/clang-format.diff
|