Skip to content

Commit bc2ff9b

Browse files
committed
fix(ci): cargo 步骤显式 shell: bash(PowerShell 不兼容 rm -rf)
1 parent 62cf3c4 commit bc2ff9b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/pr-check.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
cp /tmp/ortx/onnxruntime-win-x64-1.28.0/lib/onnxruntime.* app/src-tauri/ort/ci/
108108
- name: Test
109109
# ORT_PREFER_DYNAMIC_LINK=1:与本地一致走动态链接,规避 static MT 与项目 MD 运行时的 LNK2038 冲突
110+
shell: bash
110111
env:
111112
ORT_LIB_LOCATION: ${{ github.workspace }}/app/src-tauri/ort/ci
112113
ORT_PREFER_DYNAMIC_LINK: "1"
@@ -118,6 +119,7 @@ jobs:
118119
rm -rf target/sherpa-onnx-prebuilt
119120
cargo test -- --skip ai_client::tests::from_settings_resolves_default_provider_when_set --skip note_filter::golden_tests::session29_live_ui_excluded_from_points --skip note_filter::tests::ocr_points_exclude_watermark_junk_and_dupes
120121
- name: Lint (clippy)
122+
shell: bash
121123
env:
122124
ORT_LIB_LOCATION: ${{ github.workspace }}/app/src-tauri/ort/ci
123125
ORT_PREFER_DYNAMIC_LINK: "1"

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
cp /tmp/ortx/onnxruntime-win-x64-1.28.0/lib/onnxruntime.* app/src-tauri/ort/ci/
5757
- name: Test
5858
# ORT_PREFER_DYNAMIC_LINK=1:与本地一致走动态链接,规避 static MT 与项目 MD 运行时的 LNK2038 冲突
59+
shell: bash
5960
env:
6061
ORT_LIB_LOCATION: ${{ github.workspace }}/app/src-tauri/ort/ci
6162
ORT_PREFER_DYNAMIC_LINK: "1"

0 commit comments

Comments
 (0)