fix(release): stabilize CLI V8 and Linux dependencies

This commit is contained in:
coso
2026-09-14 08:06:36 +08:00
parent de67918442
commit 580022b574
+10 -2
View File
@@ -866,7 +866,7 @@ jobs:
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y pkg-config libasound2-dev
sudo apt-get install -y pkg-config libasound2-dev libxdo-dev
- name: Setup Rust
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
@@ -894,7 +894,15 @@ jobs:
shell: bash
run: |
node scripts/lib/rusty-v8-artifacts.mjs --github-env
cargo clean --manifest-path lime-rs/Cargo.toml -p v8
# The CLI payload is built with the release profile. Clear the matching
# target-specific V8 fingerprint so cached build-script output cannot
# reference a missing gn_out static archive.
CARGO_TARGET_DIR="${{ github.workspace }}/lime-rs/target" \
cargo clean \
--manifest-path lime-rs/Cargo.toml \
--package v8 \
--release \
--target "${{ matrix.target }}"
- name: Prepare CLI sherpa-onnx runtime
if: matrix.target != 'x86_64-unknown-linux-gnu'