mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
* fix setup-dxc not found * run validation-windows if its workflow file was changed * run validation-macos if its workflow file was changed * run validation-linux if its workflow file was changed * run lazy if its workflow file was changed
29 lines
606 B
YAML
29 lines
606 B
YAML
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
|