mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-13 09:04:42 +00:00
e41dc6958c
Use 1.41.0 and nightly
42 lines
972 B
YAML
42 lines
972 B
YAML
name: pipeline
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
rust: [1.41.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
|
|
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
|