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
30 changes: 30 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ jobs:
with:
toolchain: "1.92.0"

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
sccache-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -94,6 +102,13 @@ jobs:
cd tests/pipeline-validation
PIPELINE_TEST_URL=http://127.0.0.1:4545 cargo test --test validate

- name: Save sccache cache
if: always() && github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}

pipeline-validation-gpu:
name: Pipeline Validation (GPU)
# Skip for fork PRs — self-hosted runners must not execute untrusted code.
Expand Down Expand Up @@ -238,6 +253,14 @@ jobs:
with:
toolchain: "1.92.0"

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
sccache-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -330,3 +353,10 @@ jobs:
name: playwright-results
path: e2e/test-results/
retention-days: 7

- name: Save sccache cache
if: always() && github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
15 changes: 15 additions & 0 deletions .github/workflows/marketplace-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ jobs:
with:
toolchain: "1.92.0"

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-plugins-${{ runner.os }}-${{ hashFiles('plugins/**/Cargo.lock') }}
restore-keys: |
sccache-plugins-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- name: Verify official plugins metadata is current
Expand Down Expand Up @@ -195,6 +203,13 @@ jobs:
name: marketplace-registry
path: dist/registry/**

- name: Save sccache cache
if: always()
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-plugins-${{ runner.os }}-${{ hashFiles('plugins/**/Cargo.lock') }}

publish-registry:
name: Publish Registry (PR)
needs: [build-marketplace]
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ jobs:
toolchain: "1.92.0"
components: rustfmt, clippy

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-plugins-${{ runner.os }}-${{ hashFiles('plugins/**/Cargo.lock') }}
restore-keys: |
sccache-plugins-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- name: Build workspace list for cache
Expand Down Expand Up @@ -226,3 +234,10 @@ jobs:
(cd "plugins/native/${plugin}" && CARGO_TARGET_DIR="${{ github.workspace }}/target/plugins" cargo test)
echo "::endgroup::"
done

- name: Save sccache cache
if: always() && github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-plugins-${{ runner.os }}-${{ hashFiles('plugins/**/Cargo.lock') }}
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ jobs:
with:
toolchain: "1.92.0"

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
sccache-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -104,6 +112,13 @@ jobs:
VERSION="${{ steps.version.outputs.version }}"
sha256sum streamkit-${VERSION}-linux-x64.tar.gz > streamkit-${VERSION}-linux-x64.tar.gz.sha256

- name: Save sccache cache
if: always()
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/skit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
toolchain: "1.92.0"
components: rustfmt, clippy

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
sccache-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
Expand All @@ -72,6 +80,13 @@ jobs:
- name: Check advisories
run: cargo deny check advisories

- name: Save sccache cache
if: always() && github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}

test:
name: Test
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -108,6 +123,14 @@ jobs:
with:
toolchain: "1.92.0"

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
sccache-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
Expand All @@ -122,6 +145,13 @@ jobs:
cargo test --locked -p streamkit-server --features "moq"
cargo test --locked -p streamkit-server --features "mcp"

- name: Save sccache cache
if: always() && github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}

test-gpu:
name: Test (GPU)
# Skip for fork PRs — self-hosted runners must not execute untrusted code.
Expand Down Expand Up @@ -208,6 +238,14 @@ jobs:
with:
toolchain: "1.92.0"

- name: Restore sccache cache
uses: actions/cache/restore@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
sccache-${{ runner.os }}-

- uses: mozilla-actions/sccache-action@v0.0.9

- uses: Swatinem/rust-cache@v2
Expand All @@ -221,3 +259,10 @@ jobs:
cargo build --locked --workspace --release
cargo build --locked -p streamkit-server --bin skit --release --features "moq"
cargo build --locked -p streamkit-client --bin skit-cli --release

- name: Save sccache cache
if: always() && github.ref == 'refs/heads/main'
uses: actions/cache/save@v4
with:
path: ~/.cache/sccache
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
Loading