vello/.github/actions/shader/action.yml
Raph Levien a2f9e106cc Cover all generated shader directories
Also remove 'shader/gen' gitignore line in main (it's present in dev).
2022-07-13 11:22:04 -07:00

31 lines
847 B
GLSL

name: compile shaders
runs:
using: 'composite'
steps:
- uses: seanmiddleditch/gha-setup-ninja@master
- name: setup SPIRV tools
# consider install-vulkan-sdk instead
uses: humbletim/setup-vulkan-sdk@v1.2.0
with:
vulkan-query-version: 1.3.204.0
vulkan-components: Glslang, SPIRV-Cross
vulkan-use-cache: true
- name: install DXC
uses: napokue/setup-dxc@v1.0.0
- name: 'run shader compilers: piet-gpu'
run: mkdir gen && ninja
shell: pwsh
working-directory: piet-gpu/shader
- name: 'run shader compilers: tests'
run: mkdir gen && ninja
shell: pwsh
working-directory: tests/shader
- name: 'run shader compilers: piet-gpu-hal/examples'
run: mkdir gen && ninja
shell: pwsh
working-directory: piet-gpu-hal/examples/shader