-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/550-ffi-napi-rs
- Loading branch information
Showing
41 changed files
with
1,341 additions
and
1,363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,8 +72,8 @@ jobs: | |
with: | ||
python-version: "3.8" | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: cargo clippy -vv --all-features --features onnxruntime/disable-sys-build-script --tests -- -D clippy::all -D warnings --no-deps | ||
- run: cargo clippy -vv --all-features --features onnxruntime/disable-sys-build-script -- -D clippy::all -D warnings --no-deps | ||
- run: cargo clippy -vv --all-features --tests -- -D clippy::all -D warnings --no-deps | ||
- run: cargo clippy -vv --all-features -- -D clippy::all -D warnings --no-deps | ||
- run: cargo fmt -- --check | ||
|
||
rust-unit-test: | ||
|
@@ -199,8 +199,8 @@ jobs: | |
mkdir -p example/cpp/unix/voicevox_core/ | ||
cp -v crates/voicevox_core_c_api/include/voicevox_core.h example/cpp/unix/voicevox_core/ | ||
cp -v target/debug/libvoicevox_core.{so,dylib} example/cpp/unix/voicevox_core/ || true | ||
cp -v target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/libonnxruntime.so.* example/cpp/unix/voicevox_core/ || true | ||
cp -v target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/libonnxruntime.*.dylib example/cpp/unix/voicevox_core/ || true | ||
cp -v target/debug/libonnxruntime.so.* example/cpp/unix/voicevox_core/ || true | ||
cp -v target/debug/libonnxruntime.*.dylib example/cpp/unix/voicevox_core/ || true | ||
- if: startsWith(matrix.os, 'mac') | ||
uses: jwlawson/[email protected] | ||
|
@@ -281,15 +281,15 @@ jobs: | |
- run: poetry run maturin develop --locked | ||
- name: 必要なDLLをコピーしてpytestを実行 | ||
run: | | ||
cp -v ../../target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/onnxruntime.dll . || true | ||
cp -v ../../target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/libonnxruntime.so.* . || true | ||
cp -v ../../target/debug/build/onnxruntime-sys-*/out/onnxruntime_*/onnxruntime-*/lib/libonnxruntime.*.dylib . || true | ||
cp -v ../../target/debug/onnxruntime.dll . || true | ||
cp -v ../../target/debug/libonnxruntime.so.* . || true | ||
cp -v ../../target/debug/libonnxruntime.*.dylib . || true | ||
poetry run pytest | ||
- name: Exampleを実行 | ||
run: | | ||
for file in ../../example/python/run{,-asyncio}.py; do | ||
poetry run python "$file" ../../model/sample.vvm --dict-dir ../test_util/data/open_jtalk_dic_utf_8-1.11 | ||
poetry run python "$file" ../test_util/data/model/sample.vvm --dict-dir ../test_util/data/open_jtalk_dic_utf_8-1.11 | ||
done | ||
build-and-test-java-api: | ||
strategy: | ||
|
Oops, something went wrong.