taskcluster/ci/static-analysis-autotest/kind.yml
author Robert Bartlensky <rbartlensky@mozilla.com>
Thu, 13 Sep 2018 20:58:03 +0000
changeset 436307 aae4f349fa588aa844cfb14fae278b776aed6cb7
parent 435865 fca86e2acc89dd0be22f3f4a92f32e823ac395f1
child 436324 c5fbbf959e23a4f33d450cb6c64ef739e09fbe13
permissions -rw-r--r--
Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander Adds infer to ./mach static-analysis autotest. Differential Revision: https://phabricator.services.mozilla.com/D5692

# 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/.

loader: taskgraph.loader.transform:loader

kind-dependencies:
    - toolchain

transforms:
    - taskgraph.transforms.build_attrs:transforms
    - taskgraph.transforms.build_lints:transforms
    - taskgraph.transforms.use_toolchains:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

job-defaults:
    index:
        product: firefox
    worker:
        skip-artifacts: true
        max-run-time: 3600
        env:
            PERFHERDER_EXTRA_OPTIONS: static-analysis-autotest
    run:
        using: mozharness
        actions: [static-analysis-autotest]
        script: mozharness/scripts/fx_desktop_build.py
    treeherder:
        symbol: Sa
        kind: build
        tier: 1

jobs:
    linux64-st-autotest/debug:
        description: "Linux64 Debug Static Analysis Autotest"
        index:
            job-name: linux64-st-autotest-debug
        worker:
            docker-image: {in-tree: static-analysis-build}
            env:
                PERFHERDER_EXTRA_OPTIONS: static-analysis-autotest
        treeherder:
            platform: linux64/debug
        worker-type: aws-provisioner-v1/gecko-t-linux-large
        run:
            config:
                - builds/releng_base_firefox.py
                - builds/releng_sub_linux_configs/64_stat_and_debug.py
            tooltool-downloads: public
            keep-artifacts: false
        toolchains:
            - linux64-clang
            - linux64-clang-tidy
            - linux64-infer
            - linux64-rust
            - linux64-sccache
            - linux64-cbindgen
            - linux64-node

    win64-st-autotest/debug:
        description: "Win64 Debug Static Analysis Autotest"
        index:
            job-name: win64-st-autotest-debug
        treeherder:
            platform: windows2012-64/debug
            tier: 2
        worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
        worker:
            env:
                TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/releng.manifest"
        run:
            config:
                - builds/releng_base_firefox.py
                - builds/taskcluster_base_windows.py
                - builds/taskcluster_base_win64.py
                - builds/taskcluster_sub_win64/clang_debug.py
        toolchains:
            - win64-clang-cl-st-an
            - win64-rust
            - win64-sccache
            - win64-cbindgen
            - win64-clang-tidy
            - win64-node