mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Add CI action for validation of native shaders
This commit is contained in:
committed by
Dzmitry Malyshau
parent
3aa11838c7
commit
bfbb30b375
16
.github/workflows/validation.yml
vendored
Normal file
16
.github/workflows/validation.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user