summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/wgpu/kind.yml
blob: da92bb5e4cd8af48439fe82b9c9062b9d18a9f35 (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
# 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
    - build

transforms:
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

job-defaults:
    attributes:
        retrigger: true
    run-on-projects: ['mozilla-beta', 'trunk']
    treeherder:
        tier: 1
        kind: other
    worker:
        max-run-time: 1800
        env:
            RUST_BACKTRACE: 'full'
            RUSTFLAGS: '--deny warnings'
    run:
        sparse-profile: wgpu
    when:
        files-changed:
            - 'gfx/wgpu/**'

jobs:
    linux64-debug:
        description: Runs debug-mode wgpu CI tests on a Linux worker
        worker-type: b-linux
        worker:
            docker-image: {in-tree: wgpu}
        fetches:
            toolchain:
                - linux64-rust
                - wgpu-deps
        run:
            using: run-task
            command: >-
                export PATH=$PATH:$MOZ_FETCHES_DIR/rustc/bin &&
                cd $GECKO_PATH/gfx/wgpu &&
                mv $MOZ_FETCHES_DIR/wgpu-deps/{vendor,.cargo} ./ &&
                cargo test --verbose --frozen
        treeherder:
            platform: linux64-qr/debug
            symbol: Wgpu(test)
            kind: other