Skip to content
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
12 changes: 12 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"

jobs:
pipeline-validation:
Expand Down Expand Up @@ -48,6 +49,10 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
shared-key: skit-e2e
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: true

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libvpx-dev nasm cmake ninja-build yasm meson ffmpeg
Expand Down Expand Up @@ -121,6 +126,9 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
shared-key: skit-gpu
cache-on-failure: true

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libvpx-dev nasm cmake ninja-build yasm meson ffmpeg libopus-dev pkg-config libssl-dev
Expand Down Expand Up @@ -234,6 +242,10 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
shared-key: skit-e2e
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: true

- name: Install system dependencies (libvpx for VP9, nasm for AV1 assembly, meson for dav1d)
run: sudo apt-get update && sudo apt-get install -y libvpx-dev nasm cmake ninja-build yasm meson
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/marketplace-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SHERPA_ONNX_VERSION: "1.12.17"
MINISIGN_DEB_URL: "http://launchpadlibrarian.net/780165111/minisign_0.12-1_amd64.deb"
REGISTRY_BASE_URL: ${{ inputs.registry_base_url || 'https://streamkit.dev/registry' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
SHERPA_ONNX_VERSION: "1.12.17"
ONNXRUNTIME_VERSION: "1.22.0"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"

jobs:
build-linux-x64:
Expand Down Expand Up @@ -55,6 +57,8 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Install system dependencies (libvpx for VP9, cmake + nasm for AV1 static build)
run: sudo apt-get update && sudo apt-get install -y libvpx-dev nasm cmake
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/skit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"

jobs:
lint:
Expand Down Expand Up @@ -49,6 +50,10 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
shared-key: skit
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: true

- name: Check formatting
run: cargo fmt --all -- --check
Expand Down Expand Up @@ -106,6 +111,10 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
shared-key: skit
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: true

- name: Run tests (GPU tests run separately on self-hosted runner)
run: |
Expand Down Expand Up @@ -137,6 +146,9 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
shared-key: skit-gpu
cache-on-failure: true

- name: Run GPU tests
env:
Expand Down Expand Up @@ -198,6 +210,10 @@ jobs:
- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
with:
shared-key: skit
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: true

- name: Build all crates
run: |
Expand Down
Loading