summaryrefslogtreecommitdiffstats
path: root/third_party/rust/naga/.github/workflows/validation-linux.yml
blob: 1ac1a4759c3da15b0cee2d0011d6535ca8f6fff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: validation-linux
on:
  pull_request:
    paths:
    - '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-20.04
    steps:
      - uses: actions/checkout@v2
      - 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