Bump the cargo-minor-and-patch group across 1 directory with 9 update… #72
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: install ffmpeg | |
| # media-io (stills/media-player/scaler) shells out to ffmpeg at | |
| # runtime and its integration tests run it for real — explicit | |
| # install rather than relying on ubuntu-latest happening to bundle | |
| # it, so CI doesn't silently start failing if that ever changes. | |
| run: sudo apt-get update && sudo apt-get install -y ffmpeg | |
| - name: fmt | |
| run: cargo fmt --all -- --check | |
| - name: clippy | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: test | |
| # No --all/--workspace: that overrides [workspace] default-members | |
| # and would try to build omt-io too, which links libomt and needs | |
| # OMT_LIB_DIR pointed at an SDK this runner does not have. | |
| # | |
| # ndi-io IS a default member and builds here: it loads the NDI runtime | |
| # with dlopen rather than linking it, so nothing is needed at build | |
| # time. Its tests skip themselves when no runtime is present — verified | |
| # by running them with both local copies of libndi denied, where they | |
| # print "no NDI runtime installed — skipping" and pass — so this runner | |
| # exercises the envelope and struct-layout tests and skips the rest. | |
| run: cargo test |