Add CI action for validation of native shaders

This commit is contained in:
Dzmitry Malyshau
2021-02-05 15:12:08 -05:00
committed by Dzmitry Malyshau
parent 3aa11838c7
commit bfbb30b375
3 changed files with 18 additions and 1 deletions

16
.github/workflows/validation.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: validation
on:
pull_request:
paths:
- 'tests/snapshots/*.snap'
jobs:
linux:
name: SPIR-V and GLSL
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install tools
run: sudo apt-get install spirv-tools glslang-tools
- run: make validate-spv
- run: make validate-glsl