Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jamjamjon committed Sep 13, 2024
1 parent 6fa8b0f commit c33cc4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
build-on-linux:
name: build / linux / ffmpeg ${{ matrix.ffmpeg_version }}
name: build | linux | ffmpeg ${{ matrix.ffmpeg_version }}
runs-on: ubuntu-latest
container: jrottenberg/ffmpeg:${{ matrix.ffmpeg_version }}-ubuntu

Expand All @@ -39,7 +39,7 @@ jobs:
run: cargo build

build-on-macos:
name: build / macos / latest ffmpeg
name: build | macos | latest ffmpeg
runs-on: macos-latest

steps:
Expand All @@ -60,7 +60,7 @@ jobs:


build-on-windows:
name: build / windows / latest ffmpeg
name: build | windows | latest ffmpeg
runs-on: windows-latest

env:
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:


test-on-linux:
name: test / linux / ffmpeg ${{ matrix.ffmpeg_version }}
name: test | linux | ffmpeg ${{ matrix.ffmpeg_version }}
runs-on: ubuntu-latest
container: jrottenberg/ffmpeg:${{ matrix.ffmpeg_version }}-ubuntu

Expand Down Expand Up @@ -120,16 +120,13 @@ jobs:
- name: Run Tests in Release Mode
run: cargo test --release

- name: Run Tests with No Default Features
run: cargo test --no-default-features

- name: Run Tests on All Targets
run: cargo test --all-targets



test-on-macos:
name: test / macos / latest ffmpeg
name: test | macos | latest ffmpeg
runs-on: macos-latest

steps:
Expand All @@ -151,16 +148,13 @@ jobs:
- name: Run Tests in Release Mode
run: cargo test --release

- name: Run Tests with No Default Features
run: cargo test --no-default-features

- name: Run Tests on All Targets
run: cargo test --all-targets



test-on-windows:
name: test / windows / latest ffmpeg
name: test | windows | latest ffmpeg
runs-on: windows-latest

env:
Expand Down Expand Up @@ -192,9 +186,6 @@ jobs:
- name: Run Tests in Release Mode
run: cargo test --release

- name: Run Tests with No Default Features
run: cargo test --no-default-features

- name: Run Tests on All Targets
run: cargo test --all-targets

Expand Down
1 change: 0 additions & 1 deletion benches/yolo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ fn yolo_stage_bench(
let t0 = std::time::Instant::now();
let xs = model.preprocess(x).unwrap();
t_pre += t0.elapsed();
let a = 1;

let t = std::time::Instant::now();
let xs = model.inference(xs).unwrap();
Expand Down

0 comments on commit c33cc4a

Please sign in to comment.