summaryrefslogtreecommitdiffstats
path: root/third_party/rust/naga/.github/workflows/validation-linux.yml
blob: e253e0a42ea3793c42ea75c279a4b6f57bad6f56 (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
name: validation-linux
on:
  pull_request:
    paths:
      - '.github/workflows/validation-linux.yml'
      - 'tests/out/spv/*.spvasm'
      - 'tests/out/glsl/*.glsl'
      - 'tests/out/dot/*.dot'
      - 'tests/out/wgsl/*.wgsl'
      - 'src/front/wgsl/*'

jobs:
  validate-linux:
    name: SPIR-V + GLSL
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - name: Install tools
        run: sudo apt-get install spirv-tools glslang-tools graphviz

      - run: make validate-spv

      - run: make validate-glsl

      - run: make validate-dot

      - run: make validate-wgsl