Commit graph

6 commits

Author SHA1 Message Date
Raph Levien bfccd006e9
Tweak features for cargo check
Co-authored-by: Daniel McNab <36049421+DJMcNab@users.noreply.github.com>
2023-05-20 12:35:55 -07:00
Raph Levien 6fb757266e Add dependencies
I wasn't sure the linux dependencies were needed just for a clippy check, but apparently so.
2023-05-18 16:18:42 -07:00
Raph Levien 3774928b24 Enforce clippy lints
This turns on clippy checking and also fixes all lints in the code.

Many lints are obvious improvements. Only a small number are slightly annoying, so I think overall worth having a vanilla default config.
2023-05-18 16:13:32 -07:00
Raph Levien 1f6b47bd78 Quiet warnings
Fixes the warnings remaining in the code, which should in turn let us check that in CI.

Also checks the optional features, which are easy enough to break.
2023-05-18 15:40:40 -07:00
Daniel McNab 2c394aa265
Add a CI check that everything compiles (#321) 2023-05-18 16:14:46 +01:00
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