Source code
Revision control
Copy as Markdown
Other Tools
# 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
---
task-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-19
linux64-clang-tidy:
index:
job-name: linux64-clang-tidy
treeherder:
symbol: TL(clang-tidy)
run:
script: build-clang.sh
arguments:
- 'build/build-clang/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
resources:
- 'build/build-clang/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
fetches:
toolchain:
- linux64-clang-toolchain
- 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/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/macosx64.json'
resources:
- 'build/build-clang/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/macosx64.json'
fetches:
toolchain:
- linux64-clang-toolchain
- macosx64-sdk-toolchain
macosx64-aarch64-clang-tidy:
index:
job-name: macosx64-aarch64-clang-tidy
treeherder:
symbol: TMA64(clang-tidy)
worker-type: b-linux-large-gcp
run:
script: build-clang.sh
arguments:
- 'build/build-clang/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/macosx64-aarch64.json'
resources:
- 'build/build-clang/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/macosx64-aarch64.json'
fetches:
toolchain:
- linux64-clang-toolchain
- macosx64-sdk-toolchain
win64-clang-tidy:
description: "Clang-tidy toolchain build"
index:
job-name: win64-clang-tidy
treeherder:
symbol: TW64(clang-tidy)
worker:
max-run-time: 7200
run:
script: build-clang.sh
arguments:
- 'build/build-clang/use-clang-cl-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/win64.json'
resources:
- 'build/build-clang/use-clang-cl-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/win64.json'
fetches:
toolchain:
- linux64-clang-toolchain
- vs-toolchain
- win64-libxml2
win64-aarch64-clang-tidy:
description: "Clang-tidy toolchain build"
index:
job-name: win64-aarch64-clang-tidy
treeherder:
symbol: TWA64(clang-tidy)
worker:
max-run-time: 7200
run:
script: build-clang.sh
arguments:
- 'build/build-clang/use-clang-cl-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/win64-aarch64.json'
resources:
- 'build/build-clang/use-clang-cl-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/win64-aarch64.json'
fetches:
toolchain:
- linux64-clang-toolchain
- vs-toolchain
- win64-aarch64-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/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/clang-tidy-external.json'
resources:
- 'build/build-clang/use-clang-artifact.json'
- 'build/build-clang/clang-tidy.json'
- 'build/build-clang/clang-tidy-external.json'
run-on-projects: []
fetches:
fetch:
- civet-source
toolchain:
- linux64-clang-toolchain
- linux64-toolchain-sysroot