Skip to content

mediacodec: Use actual width/height to initialize #803

mediacodec: Use actual width/height to initialize

mediacodec: Use actual width/height to initialize #803

Workflow file for this run

name: C Header File
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
# Cancel the workflow if a new one is triggered from the same PR, branch, or tag, except on main.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
c-header-file:
name: "C Header File"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
toolchain: stable
- name: Build the library and generate the C header file
run: cargo build --features capi --release --no-default-features
- name: Ensure that there is no diff in the header file.
run: git diff --exit-code include/avif/avif.h