-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: consolidate into one workflow (#74)
* ci: consolidate into one workflow * chore: update ci badge in readme
- Loading branch information
1 parent
321e31a
commit 69bdc30
Showing
6 changed files
with
47 additions
and
110 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
test: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 5 | ||
strategy: | ||
matrix: | ||
os: | ||
- windows-latest | ||
- ubuntu-latest | ||
- macos-13 | ||
- macos-14 # Mac M1 (ARM64) | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download FFmpeg | ||
run: cargo run --example download_ffmpeg -- ../deps | ||
|
||
- name: Build | ||
run: cargo build --verbose | ||
|
||
- name: Check without default features | ||
run: cargo check --no-default-features | ||
|
||
- name: Run tests | ||
run: cargo test --all-targets --all-features --examples --verbose |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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