mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
a2f9e106cc
Also remove 'shader/gen' gitignore line in main (it's present in dev).
31 lines
847 B
GLSL
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
|