2019-02-01 03:18:39 +00:00
|
|
|
# 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/.
|
2019-05-10 21:19:48 +00:00
|
|
|
---
|
2019-02-01 03:19:47 +00:00
|
|
|
job-defaults:
|
2019-02-01 03:18:39 +00:00
|
|
|
description: "Clang-tidy build"
|
|
|
|
index:
|
|
|
|
product: static-analysis
|
2019-04-30 22:58:06 +00:00
|
|
|
worker-type: b-linux-large
|
2019-02-01 03:18:39 +00:00
|
|
|
worker:
|
|
|
|
max-run-time: 3600
|
|
|
|
run:
|
2019-02-01 03:19:47 +00:00
|
|
|
toolchain-artifact: public/build/clang-tidy.tar.xz
|
2019-02-01 03:18:39 +00:00
|
|
|
resources:
|
|
|
|
- 'build/clang-plugin/**/*.cpp'
|
|
|
|
- 'build/clang-plugin/**/*.h'
|
|
|
|
- 'build/clang-plugin/*.inc'
|
|
|
|
- 'build/clang-plugin/*.py'
|
|
|
|
- 'build/clang-plugin/moz.build'
|
|
|
|
- 'build/clang-plugin/Makefile.in'
|
|
|
|
- 'build/build-clang/build-clang.py'
|
2019-02-01 04:19:36 +00:00
|
|
|
run-on-projects:
|
|
|
|
- trunk
|
|
|
|
- try
|
2019-08-02 02:34:52 +00:00
|
|
|
fetches:
|
|
|
|
fetch:
|
2020-04-09 14:16:44 +00:00
|
|
|
- clang-10
|
2019-02-01 03:19:47 +00:00
|
|
|
|
|
|
|
linux64-clang-tidy:
|
|
|
|
index:
|
|
|
|
job-name: linux64-clang-tidy
|
|
|
|
treeherder:
|
|
|
|
symbol: TL(clang-tidy)
|
|
|
|
run:
|
2019-08-02 01:50:48 +00:00
|
|
|
script: build-clang.sh
|
2019-08-01 07:14:54 +00:00
|
|
|
arguments:
|
|
|
|
- 'build/build-clang/clang-tidy-linux64.json'
|
2019-02-01 03:19:47 +00:00
|
|
|
resources:
|
2019-02-01 03:18:39 +00:00
|
|
|
- 'build/build-clang/clang-tidy-linux64.json'
|
2019-08-03 04:41:50 +00:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
2019-09-21 14:26:53 +00:00
|
|
|
- linux64-binutils
|
2019-11-21 20:53:27 +00:00
|
|
|
- linux64-gcc-7
|
2019-02-01 03:18:39 +00:00
|
|
|
|
|
|
|
macosx64-clang-tidy:
|
|
|
|
index:
|
|
|
|
job-name: macosx64-clang-tidy
|
|
|
|
treeherder:
|
|
|
|
symbol: TM(clang-tidy)
|
2019-04-30 22:58:06 +00:00
|
|
|
worker-type: b-linux-large
|
2019-02-01 03:18:39 +00:00
|
|
|
worker:
|
|
|
|
env:
|
2020-04-03 21:05:37 +00:00
|
|
|
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
|
2019-02-01 03:18:39 +00:00
|
|
|
run:
|
|
|
|
using: toolchain-script
|
2019-08-02 01:50:48 +00:00
|
|
|
script: build-clang.sh
|
2019-02-01 03:18:39 +00:00
|
|
|
tooltool-downloads: internal
|
2019-08-01 07:14:54 +00:00
|
|
|
arguments:
|
|
|
|
- 'build/build-clang/clang-tidy-macosx64.json'
|
2019-02-01 03:18:39 +00:00
|
|
|
resources:
|
|
|
|
- 'build/build-clang/clang-tidy-macosx64.json'
|
|
|
|
- 'taskcluster/scripts/misc/tooltool-download.sh'
|
2019-08-03 04:41:50 +00:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
2019-09-21 14:26:53 +00:00
|
|
|
- linux64-binutils
|
2020-05-12 14:02:30 +00:00
|
|
|
- linux64-cctools-port
|
2020-04-09 14:16:44 +00:00
|
|
|
- linux64-clang-10
|
2019-11-21 20:53:27 +00:00
|
|
|
- linux64-gcc-7
|
2019-08-03 04:41:50 +00:00
|
|
|
- linux64-node
|
2019-02-01 03:18:39 +00:00
|
|
|
|
|
|
|
win64-clang-tidy:
|
|
|
|
description: "Clang-tidy toolchain build"
|
|
|
|
index:
|
|
|
|
job-name: win64-clang-tidy
|
|
|
|
treeherder:
|
|
|
|
symbol: TW64(clang-tidy)
|
|
|
|
tier: 2
|
2019-04-30 22:58:06 +00:00
|
|
|
worker-type: b-win2012
|
2019-02-01 03:18:39 +00:00
|
|
|
worker:
|
|
|
|
max-run-time: 7200
|
|
|
|
env:
|
2019-08-06 02:00:09 +00:00
|
|
|
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
|
2019-02-01 03:18:39 +00:00
|
|
|
run:
|
2019-08-02 01:50:48 +00:00
|
|
|
script: build-clang.sh
|
2019-08-01 07:14:54 +00:00
|
|
|
arguments:
|
|
|
|
- 'build/build-clang/clang-tidy-win64.json'
|
2019-02-01 03:18:39 +00:00
|
|
|
resources:
|
2019-02-01 04:22:02 +00:00
|
|
|
- 'build/build-clang/clang-tidy-win64.json'
|
2019-02-01 03:18:39 +00:00
|
|
|
toolchain-artifact: public/build/clang-tidy.tar.bz2
|
2019-11-09 22:19:55 +00:00
|
|
|
tooltool-downloads: internal
|
2019-08-06 01:54:00 +00:00
|
|
|
fetches:
|
|
|
|
fetch:
|
|
|
|
- cmake
|
|
|
|
- ninja
|