summaryrefslogtreecommitdiffstats
path: root/third_party/rust/naga/.github/workflows/validation-linux.yml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/naga/.github/workflows/validation-linux.yml')
-rw-r--r--third_party/rust/naga/.github/workflows/validation-linux.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/third_party/rust/naga/.github/workflows/validation-linux.yml b/third_party/rust/naga/.github/workflows/validation-linux.yml
new file mode 100644
index 0000000000..e253e0a42e
--- /dev/null
+++ b/third_party/rust/naga/.github/workflows/validation-linux.yml
@@ -0,0 +1,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