Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freshen rav1e dependencies and CI #3414

Merged
merged 7 commits into from
Feb 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
version: 2.15

# Minimum version in Cargo.toml
- name: Install Rust 1.74.0
uses: dtolnay/rust-toolchain@1.74.0
- name: Install Rust 1.83.0
uses: dtolnay/rust-toolchain@1.83.0
with:
targets: wasm32-unknown-unknown, wasm32-wasi
targets: wasm32-unknown-unknown, wasm32-wasip2

- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Run cargo check (wasi)
run: >
cargo check
--target wasm32-wasi
--target wasm32-wasip2
--no-default-features

wasi:
Expand All @@ -78,7 +78,7 @@ jobs:
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: '-Dwarnings'
CARGO_TARGET_WASM32_WASI_RUNNER: wasmtime
CARGO_TARGET_WASM32_WASIP2_RUNNER: wasmtime

steps:
- uses: actions/checkout@v4
Expand All @@ -89,21 +89,21 @@ jobs:
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-wasi
targets: wasm32-wasip2
- uses: Swatinem/rust-cache@v2

- name: Run tests
run: >
cargo test
--target wasm32-wasi
--target wasm32-wasip2
--no-default-features

build-unix:
strategy:
matrix:
conf:
- beta-build
- 1.74.0-tests
- msrv-tests
- aom-tests
- dav1d-tests
- no-asm-tests
Expand All @@ -118,8 +118,8 @@ jobs:
include:
- conf: beta-build
toolchain: beta
- conf: 1.74.0-tests
toolchain: 1.74.0
- conf: msrv-tests
toolchain: 1.83.0
- conf: aom-tests
toolchain: stable
- conf: dav1d-tests
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
tar xj -C $HOME/.cargo/bin
- name: Install Intel SDE
if: matrix.conf == 'grcov-codecov'
uses: petarpetrovt/setup-sde@v2.3
uses: petarpetrovt/setup-sde@v2.4
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
Expand Down Expand Up @@ -221,8 +221,8 @@ jobs:
- name: Start sccache server
run: |
sccache --start-server
- name: Run 1.74.0 tests
if: matrix.toolchain == '1.74.0' && matrix.conf == '1.74.0-tests'
- name: Run msrv tests
if: matrix.conf == 'msrv-tests'
run: |
cargo test --workspace --verbose \
--features=decode_test,decode_test_dav1d,quick_test,capi
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --offline
cargo cbuild
- name: Install cargo-fuzz
if: matrix.conf == 'fuzz'
run: |
Expand Down Expand Up @@ -406,7 +406,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --target=${{ matrix.target }} --offline
cargo cbuild --target=${{ matrix.target }}
- name: Stop sccache server
run: |
sccache --stop-server
Expand Down Expand Up @@ -488,7 +488,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --offline
cargo cbuild
- name: Stop sccache server
run: |
sccache --stop-server
Loading
Loading