dash-mpd 0.7.0

Parse, serialize, download an MPD manifest for MPEG-DASH or WebM-DASH media streaming
Documentation
on: [push]

name: build

jobs:
  check:
    name: dash-mpd-rs check/nightly
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: dtolnay/rust-toolchain@nightly
      - run: cargo check

  test:
    name: dash-mpd-rs test/stable
    runs-on: ubuntu-latest
    steps:
      - name: Install ffmpeg
      # As of 2022-03, ubuntu-latest is using focal-updates which has libavcodec-dev v4.2.4
      # This does not include libavformat/bsf.h, which is required by the ac-ffmpeg crate.
      # Try to obtain ffmpeg/libav v4.4 from a ppa.
        run: |
          sudo add-apt-repository ppa:savoury1/ffmpeg4
          sudo apt-get update
          sudo apt-get install ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
      - uses: actions/checkout@v3
      - uses: dtolnay/rust-toolchain@stable
      - run: cargo test --all-features