Dev v4l2 stateless #293
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Health check | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: libva-dev | |
version: 1.0 | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --all-features --verbose --workspace --tests --examples | |
- name: Clippy | |
run: cargo clippy --all-features --workspace --tests --examples | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Format | |
run: cargo fmt --check --all | |
- name: Build release | |
run: cargo build --all-features --examples --release | |
- name: Upload built binary artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ccdec-bin | |
path: target/release/examples/ccdec | |