Skip to content

Commit

Permalink
disable windows tests for node
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed May 6, 2024
1 parent 7ab98fd commit dc8fb8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-nodejs-addon-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-11, macos-14, ubuntu-20.04, ubuntu-22.04, windows-latest]
os: [macos-11, macos-14, ubuntu-20.04, ubuntu-22.04] #, windows-latest]
node-version: ["16", "17", "18", "19", "21", "22"]
python-version: ["3.8"]

Expand Down
2 changes: 2 additions & 0 deletions scripts/apk/build-apk-asr-2pass.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ mkdir -p apks
pushd ./android/SherpaOnnx2Pass/app/src/main/assets/

model_name1={{ first.model_name }}
model_name=$model_name1
type1={{ first.idx }}
lang1={{ first.lang }}
short_name1={{ first.short_name }}
Expand All @@ -50,6 +51,7 @@ rm -rf *.tar.bz2
ls -lh $model_name1

model_name2={{ second.model_name }}
model_name=$model_name2
type2={{ second.idx }}
lang2={{ second.lang }}
short_name2={{ second.short_name }}
Expand Down
4 changes: 2 additions & 2 deletions scripts/apk/generate-asr-2pass-apk-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_2nd_models():
pushd $model_name
rm -v README.md
rm -fv test_wavs
rm -rfv test_wavs
rm model.onnx
ls -lh
Expand All @@ -90,7 +90,7 @@ def get_2nd_models():
cmd="""
pushd $model_name
rm -fv test_wavs
rm -rfv test_wavs
rm -v README.md
mv -v data/lang_char/tokens.txt ./
rm -rfv data/lang_char
Expand Down

0 comments on commit dc8fb8f

Please sign in to comment.