Skip to content

Commit ae7934a

Browse files
fix(ci): trigger plugins on rust changes, add ldconfig for nllb cache hits
- ci.yml: add rust filter to plugins job condition so changes to plugin SDK (sdks/**) or core crates (crates/**) trigger plugin linting — prevents breaking SDK changes from going undetected - plugins.yml: add ldconfig step for CTranslate2 cache hits, matching the sherpa-onnx pattern for consistency Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai> Signed-off-by: StreamKit Devin <devin@streamkit.dev> Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
1 parent b834931 commit ae7934a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
if: >-
7575
github.event_name == 'workflow_dispatch' ||
7676
needs.changes.outputs.ci == 'true' ||
77-
needs.changes.outputs.plugins == 'true'
77+
needs.changes.outputs.plugins == 'true' ||
78+
needs.changes.outputs.rust == 'true'
7879
uses: ./.github/workflows/plugins.yml
7980

8081
e2e:

.github/workflows/plugins.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ jobs:
9191
sudo make install
9292
sudo ldconfig
9393
94+
- name: Refresh linker cache (CTranslate2 from cache)
95+
if: matrix.group == 'nllb' && steps.cache-ct2.outputs.cache-hit == 'true'
96+
run: sudo ldconfig
97+
9498
# --- Rust toolchain & caches ---
9599
- name: Install Rust toolchain
96100
uses: dtolnay/rust-toolchain@master

0 commit comments

Comments
 (0)