taskcluster/ci/static-analysis-autotest/kind.yml
author Robert Bartlensky <rbartlensky@mozilla.com>
Fri, 06 Jul 2018 17:37:16 +0100
changeset 486497 2e7b746dfdcf28d93f32cb4cede3124e2a0f486c
parent 485706 23b90e4be604f0a25ac13fdcfa904ae4dc84fef9
child 487339 98578393d6357aa701b062b231ed867209b9825c
permissions -rw-r--r--
Bug 1473951: Add infer to taskcluster and build. r=gps MozReview-Commit-ID: BHi3E6J3nuH

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

    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-clang-tidy