Debian Codegraph @

.cargo/vendor/qoi/.github/workflows/ci.yml

raw
1 on:
2 push:
3 branches: [master]
4 pull_request:
5 branches: [master]
6 name: CI
7 env:
8 CARGO_TERM_COLOR: always
9 HOST: x86_64-unknown-linux-gnu
10 RUSTFLAGS: "-D warnings"
11 jobs:
12 tests:
13 runs-on: ubuntu-latest
14 strategy:
15 matrix:
16 rust: [stable, beta, nightly, 1.61.0] # MSRV=1.61
17 steps:
18 - uses: actions/checkout@v2
19 with: {submodules: true}
20 - uses: actions-rs/toolchain@v1
21 with: {profile: minimal, toolchain: '${{ matrix.rust }}', override: true}
22 - run: cargo test
23 reference:
24 runs-on: ubuntu-latest
25 steps:
26 - uses: actions/checkout@v2
27 with: {submodules: true}
28 - uses: actions-rs/toolchain@v1
29 with: {profile: minimal, toolchain: stable, override: true}
30 - run: cargo test --features=reference
31 clippy:
32 runs-on: ubuntu-latest
33 steps:
34 - uses: actions/checkout@v2
35 - uses: actions-rs/toolchain@v1
36 with: {profile: minimal, toolchain: beta, override: true, components: clippy}
37 - run: cargo clippy