Skip to content

Commit

Permalink
Fix: cwd周りを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Oct 21, 2023
1 parent a62db9c commit c8c506d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate_document.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Build voicevox_core_python_api
run: |
cargo build -p voicevox_core_c_api -vv
maturin develop --manifest-path ./crates/voicevox_core_python_api/Cargo.toml --locked
poetry run maturin develop --manifest-path ./crates/voicevox_core_python_api/Cargo.toml --locked
- name: Generate Sphinx document
run: sphinx-build docs/apis/python_api public/apis/python_api
- name: Generate Javadoc
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,18 +274,17 @@ jobs:
uses: ./.github/actions/rust-toolchain-from-file
- run: |
pip install --upgrade poetry
cd crates/voicevox_core_python_api
poetry install --with dev --with test
- run: cargo build -p voicevox_core_c_api -vv
- run: maturin build --manifest-path Cargo.toml --locked
- run: maturin develop --manifest-path Cargo.toml --locked
- run: poetry run maturin build --manifest-path Cargo.toml --locked
- run: poetry run maturin develop --manifest-path Cargo.toml --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
pytest
poetry run pytest
build-and-test-java-api:
strategy:
fail-fast: false
Expand Down

0 comments on commit c8c506d

Please sign in to comment.