videoeditor-record: web-based narration recorder (videoeditor record)
#18
Workflow file for this run
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: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| strategy: | |
| matrix: | |
| # macOS matters: Chrome/ffmpeg paths differ from Linux | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: taiki-e/install-action@just | |
| # same recipes developers run locally — see justfile | |
| - name: check (clippy + fmt) | |
| run: just check | |
| - name: test | |
| run: just test | |
| - name: build | |
| run: just build | |
| # the preferred install path must stay green: sandboxed build from flake.lock | |
| nix: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - uses: DeterminateSystems/nix-installer-action@v16 | |
| - uses: DeterminateSystems/magic-nix-cache-action@v9 | |
| - name: nix build | |
| run: nix build .#videoeditor --print-build-logs | |
| - name: smoke | |
| run: ./result/bin/videoeditor --help |