wgpu/.github/workflows/pipeline.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

2021-05-06 16:24:57 +00:00
# Regular testing.
name: pipeline
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
2021-01-25 01:44:30 +00:00
rust: [1.43.0, nightly]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
name: Default test
with:
command: test
- uses: actions-rs/cargo@v1
name: Test all features
with:
command: test
2021-06-13 12:38:40 +00:00
args: --all-features --workspace
2021-04-14 18:20:48 +00:00
- name: Check snapshots
run: git diff --exit-code -- tests/out
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
2021-06-13 12:38:40 +00:00
args: --all-features --workspace -- -D warnings