vello/.github/workflows/shader.yml
Raph Levien 682e4b769f Shader compilation in GitHub Actions
This patch sets up very basic CI (right now just cargo fmt) but more importantly compiles shaders in a GitHub Action.

Any PR to branches other than main will run shader compilation. Any push to the dev branch will run shader compilation and then merge to main.

Closes #177
2022-06-16 21:19:39 -07:00

14 lines
253 B
YAML

on:
pull_request:
branches-ignore:
- main
jobs:
push-shaders:
runs-on: windows-latest
name: compile shaders
steps:
- uses: actions/checkout@v3
- run: mkdir piet-gpu/shader/gen
- uses: ./.github/actions/shader