Skip to content

Remove itertools since it is unused #35

Remove itertools since it is unused

Remove itertools since it is unused #35

name: av1-grain-compact
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check --verbose
- name: Run cargo clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --tests --benches -- -D warnings
- name: Build
run: cargo build --verbose --tests --benches
- name: Run tests
run: cargo test --verbose
- name: Generate docs
run: cargo doc --no-deps