Skip to content

Commit 69bdc30

Browse files
ci: consolidate into one workflow (#74)
* ci: consolidate into one workflow * chore: update ci badge in readme
1 parent 321e31a commit 69bdc30

File tree

6 files changed

+47
-110
lines changed

6 files changed

+47
-110
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
branches:
9+
- 'main'
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
13+
cancel-in-progress: true
14+
15+
env:
16+
CARGO_TERM_COLOR: always
17+
18+
jobs:
19+
test:
20+
name: ${{ matrix.os }}
21+
runs-on: ${{ matrix.os }}
22+
timeout-minutes: 5
23+
strategy:
24+
matrix:
25+
os:
26+
- windows-latest
27+
- ubuntu-latest
28+
- macos-13
29+
- macos-14 # Mac M1 (ARM64)
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- name: Download FFmpeg
34+
run: cargo run --example download_ffmpeg -- ../deps
35+
36+
- name: Build
37+
run: cargo build --verbose
38+
39+
- name: Check without default features
40+
run: cargo check --no-default-features
41+
42+
- name: Run tests
43+
run: cargo test --all-targets --all-features --examples --verbose

.github/workflows/mac-m1.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/mac.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/ubuntu.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/windows.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# FFmpeg Sidecar 🏍
22

3-
[Github](https://github.com/nathanbabcock/ffmpeg-sidecar) |
4-
[Crates.io](https://crates.io/crates/ffmpeg-sidecar) |
5-
[Docs.rs](https://docs.rs/ffmpeg-sidecar)
3+
[Github](https://github.com/nathanbabcock/ffmpeg-sidecar)
4+
[Crates.io](https://crates.io/crates/ffmpeg-sidecar)
5+
[Docs.rs](https://docs.rs/ffmpeg-sidecar)
6+
[<img src="https://github.com/nathanbabcock/ffmpeg-sidecar/actions/workflows/ci.yml/badge.svg" align="center" alt="Github Actions">](https://github.com/nathanbabcock/ffmpeg-sidecar/actions/workflows/ci.yml)
67

78
> Wrap a standalone FFmpeg binary in an intuitive Iterator interface.
89

0 commit comments

Comments
 (0)