mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 23:41:01 +01:00
* Basic glsl support * Miscellaneous fixes and vertex shader works * Added rudimentary texture and sampler support * Basic preprocessor * Added preprocessor if macros * Pass tests and handle floats correctly * Fix preprocessor if wrong precedence ordering when using macros Refractor for the glsl parser Partial primary expression parser * Fix all clippy errors * Cleanup * Rollback formatting changes in lib.rs
34 lines
769 B
YAML
34 lines
769 B
YAML
name: pipeline
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --all-features
|
|
clippy:
|
|
name: Clippy
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
- run: rustup component add clippy
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: clippy
|
|
args: --all-features -- -D warnings
|