Skip to content

decoder/stateless/h264: perform index range check #306

decoder/stateless/h264: perform index range check

decoder/stateless/h264: perform index range check #306

Workflow file for this run

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