Debian Codegraph @

.cargo/vendor/av1-grain/.github/workflows/av1-grain-compact.yml

raw
1 name: av1-grain-compact
2
3 on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10
11 jobs:
12 build-test:
13 strategy:
14 matrix:
15 platform: [ubuntu-latest, macos-latest, windows-latest]
16
17 runs-on: ${{ matrix.platform }}
18
19 steps:
20 - uses: actions/checkout@v3
21
22 - name: Install Rust stable
23 uses: actions-rs/toolchain@v1
24 with:
25 profile: minimal
26 toolchain: stable
27 override: true
28 components: rustfmt, clippy
29 - uses: Swatinem/rust-cache@v2
30
31 - name: Run rustfmt
32 uses: actions-rs/cargo@v1
33 with:
34 command: fmt
35 args: -- --check --verbose
36
37 - name: Run cargo clippy
38 uses: actions-rs/clippy-check@v1
39 with:
40 token: ${{ secrets.GITHUB_TOKEN }}
41 args: --all-targets --tests --benches -- -D warnings
42
43 - name: Build
44 run: cargo build --verbose --tests --benches
45
46 - name: Run tests
47 run: cargo test --verbose
48
49 - name: Generate docs
50 run: cargo doc --no-deps