2022-06-17 09:00:13 +10:00
|
|
|
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
|
|
|
|
|
2022-07-14 01:45:22 +10:00
|
|
|
- name: 'run shader compilers: piet-gpu'
|
|
|
|
run: mkdir gen && ninja
|
2022-06-17 09:00:13 +10:00
|
|
|
shell: pwsh
|
|
|
|
working-directory: piet-gpu/shader
|
2022-07-14 01:45:22 +10:00
|
|
|
- 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
|