summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/toolchain/clang-tidy.yml
blob: 02d089eca3d66bb802e61c6732b1dffa4260b83d (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# 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:
    description: "Clang-tidy build"
    attributes:
        local-toolchain: true
    index:
        product: static-analysis
    worker-type: b-linux-large-gcp
    worker:
        max-run-time: 3600
    run:
        toolchain-artifact: public/build/clang-tidy.tar.zst
        resources:
            - 'build/clang-plugin/**/*.cpp'
            - 'build/clang-plugin/**/*.h'
            - 'build/clang-plugin/*.inc'
            - 'build/clang-plugin/*.py'
            - 'build/clang-plugin/*.txt'
            - 'build/clang-plugin/moz.build'
            - 'build/clang-plugin/Makefile.in'
            - 'build/build-clang/build-clang.py'
    fetches:
        fetch:
            - clang-17

linux64-clang-tidy:
    index:
        job-name: linux64-clang-tidy
    treeherder:
        symbol: TL(clang-tidy)
    run:
        script: build-clang.sh
        arguments:
            - 'build/build-clang/clang-tidy-linux64.json'
        resources:
            - 'build/build-clang/clang-tidy-linux64.json'
    fetches:
        toolchain:
            - linux64-clang-17
            - linux64-toolchain-sysroot

macosx64-clang-tidy:
    index:
        job-name: macosx64-clang-tidy
    treeherder:
        symbol: TM(clang-tidy)
    worker-type: b-linux-large-gcp
    run:
        script: build-clang.sh
        arguments:
            - 'build/build-clang/clang-tidy-macosx64.json'
            - 'build/build-clang/macosx64.json'
        resources:
            - 'build/build-clang/clang-tidy-macosx64.json'
            - 'build/build-clang/macosx64.json'
    fetches:
        toolchain:
            - linux64-clang-17
            - macosx64-sdk-toolchain

macosx64-aarch64-clang-tidy:
    index:
        job-name: macosx64-aarch64-clang-tidy
    treeherder:
        symbol: TM(clang-tidy-aarch64)
    worker-type: b-linux-large-gcp
    run:
        script: build-clang.sh
        arguments:
            - 'build/build-clang/clang-tidy-macosx64.json'
            - 'build/build-clang/macosx64.json'
            - 'build/build-clang/macosx64-aarch64.json'
        resources:
            - 'build/build-clang/clang-tidy-macosx64.json'
            - 'build/build-clang/macosx64.json'
            - 'build/build-clang/macosx64-aarch64.json'
    fetches:
        toolchain:
            - linux64-clang-17
            - macosx64-sdk-toolchain

win64-clang-tidy:
    description: "Clang-tidy toolchain build"
    index:
        job-name: win64-clang-tidy
    treeherder:
        symbol: TW64(clang-tidy)
        tier: 2
    worker:
        max-run-time: 7200
    run:
        script: build-clang.sh
        arguments:
            - 'build/build-clang/clang-tidy-win64.json'
            - 'build/build-clang/win64.json'
        resources:
            - 'build/build-clang/clang-tidy-win64.json'
            - 'build/build-clang/win64.json'
    fetches:
        toolchain:
            - linux64-clang-17
            - vs-toolchain
            - win64-libxml2

linux64-clang-tidy-external:
    attributes:
        local-toolchain: false
    index:
        job-name: linux64-clang-tidy-external
    treeherder:
        symbol: TL(clang-tidy-e)
    run:
        toolchain-artifact: project/civet/clang-tidy.tar.zst
        script: build-clang-tidy-external.sh
        arguments:
            - 'build/build-clang/clang-tidy-external-linux64.json'
        resources:
            - 'build/build-clang/clang-tidy-external-linux64.json'
    run-on-projects: []
    fetches:
        fetch:
            - civet-source
        toolchain:
            - linux64-clang-17
            - linux64-toolchain-sysroot