|
52 | 52 | -DSHERPA_ONNX_ENABLE_WEBSOCKET=OFF \ |
53 | 53 | -DBUILD_ESPEAK_NG_EXE=OFF \ |
54 | 54 | -DSHERPA_ONNX_BUILD_C_API_EXAMPLES=OFF \ |
55 | | - -DSHERPA_ONNX_ENABLE_BINARY=ON \ |
| 55 | + -DSHERPA_ONNX_ENABLE_BINARY=OFF \ |
| 56 | + -DSHERPA_ONNX_ENABLE_C_API=OFF \ |
56 | 57 | .. |
57 | 58 |
|
58 | 59 | - name: Build sherpa-onnx for windows |
|
62 | 63 | cmake --build . --config Release -- -m:2 |
63 | 64 | cmake --build . --config Release --target install -- -m:2 |
64 | 65 |
|
65 | | - ls -lh ./bin/Release/sherpa-onnx.exe |
66 | 66 | rm -rf install/share |
67 | 67 | rm -rf install/lib/share |
68 | 68 | rm -rf install/lib/pkgconfig |
|
81 | 81 | dst=sherpa-onnx-${SHERPA_ONNX_VERSION}-win-x64-jni |
82 | 82 | mkdir -p $dst |
83 | 83 |
|
84 | | - cp -a build/install/bin $dst/ |
85 | | - cp -a build/install/lib $dst/ |
86 | | - cp -a build/install/include $dst/ |
| 84 | + cp -a build/install/bin $dst/ || true |
| 85 | + cp -a build/install/lib $dst/ || true |
| 86 | + cp -a build/install/include $dst/ || true |
87 | 87 |
|
88 | 88 | tar cjvf ${dst}.tar.bz2 $dst |
89 | 89 |
|
@@ -122,12 +122,12 @@ jobs: |
122 | 122 | git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-libs main |
123 | 123 |
|
124 | 124 | - name: Release pre-compiled binaries and libs for Windows x64 |
125 | | - if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
| 125 | + # if: (github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa') && github.event_name == 'push' && contains(github.ref, 'refs/tags/') |
126 | 126 | uses: svenstaro/upload-release-action@v2 |
127 | 127 | with: |
128 | 128 | file_glob: true |
129 | 129 | overwrite: true |
130 | 130 | file: sherpa-onnx-*.tar.bz2 |
131 | | - # repo_name: k2-fsa/sherpa-onnx |
132 | | - # repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }} |
133 | | - # tag: v1.12.0 |
| 131 | + repo_name: k2-fsa/sherpa-onnx |
| 132 | + repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }} |
| 133 | + tag: v1.12.18 |
0 commit comments