Skip to content

Commit

Permalink
feat: Linux arm64向けパッケージを追加 (#1515)
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroshiba <[email protected]>
  • Loading branch information
HyodaKazuaki and Hiroshiba authored Jan 21, 2025
1 parent 81163c4 commit 6c7aed7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-engine-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,18 @@ jobs:
voicevox_core_asset_prefix: voicevox_core-osx-arm64-cpu
onnxruntime_url: https://github.com/microsoft/onnxruntime/releases/download/v1.13.1/onnxruntime-osx-arm64-1.13.1.tgz
target: macos-arm64
# Linux CPU
# Linux CPU (x64 arch)
- os: ubuntu-20.04
architecture: "x64"
voicevox_core_asset_prefix: voicevox_core-linux-x64-cpu
onnxruntime_url: https://github.com/microsoft/onnxruntime/releases/download/v1.13.1/onnxruntime-linux-x64-1.13.1.tgz
target: linux-cpu
target: linux-cpu-x64
# Linux CPU (arm64 arch)
- os: ubuntu-22.04-arm
architecture: "arm64"
voicevox_core_asset_prefix: voicevox_core-linux-arm64-cpu
onnxruntime_url: https://github.com/microsoft/onnxruntime/releases/download/v1.13.1/onnxruntime-linux-aarch64-1.13.1.tgz
target: linux-cpu-arm64
# Linux NVIDIA GPU
- os: ubuntu-20.04
architecture: "x64"
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/test-engine-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
matrix:
include:
- os: ubuntu-20.04
target: linux-cpu
target: linux-cpu-x64
- os: ubuntu-22.04-arm
target: linux-cpu-arm64
- os: ubuntu-20.04
target: linux-nvidia
- os: macos-13
Expand Down Expand Up @@ -81,5 +83,13 @@ jobs:
if: startsWith(matrix.target, 'linux') || startsWith(matrix.target, 'macos')
run: chmod +x dist/run

# ref: https://github.com/VOICEVOX/voicevox_engine/pull/806
# ref: https://github.com/VOICEVOX/voicevox_engine/issues/1516
- name: <Setup> Install libsndfile1 for Linux arm64 architecture
if: startsWith(matrix.target, 'linux') && endsWith(matrix.target, 'arm64')
run: |
sudo apt-get update
sudo apt-get install -y libsndfile1
- name: <Test> Test ENGINE package
run: python tools/check_release_build.py --dist_dir dist/

0 comments on commit 6c7aed7

Please sign in to comment.