Skip to content

Update submodule and fix onnxruntime download for tests#281

Merged
actions-commit-pr-dekiru-kun[bot] merged 3 commits into
mainfrom
update-submodule
Mar 27, 2026
Merged

Update submodule and fix onnxruntime download for tests#281
actions-commit-pr-dekiru-kun[bot] merged 3 commits into
mainfrom
update-submodule

Conversation

@actions-commit-pr-dekiru-kun

@actions-commit-pr-dekiru-kun actions-commit-pr-dekiru-kun Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

メモ
VOICEVOX/voicevox_core#1278
上記PRの変更に対応したonnxruntimeの扱いにする必要がある

対応内容

voicevox_core PR #1278 の変更により、cargo build 時にデフォルトでonnxruntimeがダウンロードされなくなった。テスト目的でonnxruntimeをダウンロードするには、新しいCargoフィーチャ buildtime-download-onnxruntime を明示的に有効化する必要がある。

  • binding/Makefilebuild/dev-library ターゲットに -F voicevox_core/buildtime-download-onnxruntime を追加

voicevox_core サブモジュールの .cargo/config.toml には既に VVCORE_BUILD_DOWNLOAD_AND_COPY_ORT=1 が設定されているため、環境変数の追加設定は不要。ビルド後も libonnxruntime.sotarget/release/libonnxruntime.so にシンボリックリンクとして配置され、composite actionの既存のシンボリックリンク解除ステップが実ファイルに変換するため、ワークフローファイルのキャッシュパス等は変更不要。


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@yamachu

yamachu commented Mar 27, 2026

Copy link
Copy Markdown
Owner

@copilot VOICEVOX/voicevox_core#1278 のdescriptionにテスト目的でonnxruntimeをダウンロードする方法などが書いてあったはずです
それを確認し、このリポジトリのテストに使用するworkflowファイルを更新し、テストが実行できるようにしてください

…e for onnxruntime download

Agent-Logs-Url: https://github.com/yamachu/VoicevoxCoreSharp/sessions/4dd3587f-9a8f-461f-8df7-91cb39a11dcd

Co-authored-by: yamachu <1955233+yamachu@users.noreply.github.com>

Copilot AI commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

@copilot VOICEVOX/voicevox_core#1278 のdescriptionにテスト目的でonnxruntimeをダウンロードする方法などが書いてあったはずです
それを確認し�...

PR #1278 のdescriptionによると、cargo build時にonnxruntimeをダウンロードするには新しいCargoフィーチャ buildtime-download-onnxruntime を有効化する必要があります(voicevox_core.cargo/config.tomlにあるVVCORE_BUILD_DOWNLOAD_AND_COPY_ORT=1は既にサブモジュール内に設定済みのため変更不要)。

binding/Makefilebuild/dev-libraryターゲットに -F voicevox_core/buildtime-download-onnxruntime を追加しました(commit: 862ab38)。

ワークフローファイルの変更は不要です。新しいビルド後もlibonnxruntime.sotarget/release/libonnxruntime.soにシンボリックリンクとして配置され、composite actionの既存のシンボリックリンク解除ステップが実ファイルに変換してキャッシュするため、キャッシュパスは引き続き有効です。

Copilot AI changed the title Update submodule Update submodule and fix onnxruntime download for tests Mar 27, 2026
@yamachu

yamachu commented Mar 27, 2026

Copy link
Copy Markdown
Owner

/mq

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

Testing: https://github.com/yamachu/VoicevoxCoreSharp/actions/runs/23627053813
You can view state by GitHub CLI below command:

  • gh run view --repo yamachu/VoicevoxCoreSharp 23627053813
  • gh run watch --repo yamachu/VoicevoxCoreSharp 23627053813

If you want to cancel the test, you can cancel it by GitHub CLI below command:

  • gh run cancel --repo yamachu/VoicevoxCoreSharp 23627053813

@actions-commit-pr-dekiru-kun actions-commit-pr-dekiru-kun Bot merged commit b1ee723 into main Mar 27, 2026
8 checks passed
@actions-commit-pr-dekiru-kun actions-commit-pr-dekiru-kun Bot deleted the update-submodule branch March 27, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants