Skip to content

Commit 6c7aed7

Browse files
feat: Linux arm64向けパッケージを追加 (#1515)
Co-authored-by: Hiroshiba <[email protected]>
1 parent 81163c4 commit 6c7aed7

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/build-engine-package.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,18 @@ jobs:
8787
voicevox_core_asset_prefix: voicevox_core-osx-arm64-cpu
8888
onnxruntime_url: https://github.com/microsoft/onnxruntime/releases/download/v1.13.1/onnxruntime-osx-arm64-1.13.1.tgz
8989
target: macos-arm64
90-
# Linux CPU
90+
# Linux CPU (x64 arch)
9191
- os: ubuntu-20.04
9292
architecture: "x64"
9393
voicevox_core_asset_prefix: voicevox_core-linux-x64-cpu
9494
onnxruntime_url: https://github.com/microsoft/onnxruntime/releases/download/v1.13.1/onnxruntime-linux-x64-1.13.1.tgz
95-
target: linux-cpu
95+
target: linux-cpu-x64
96+
# Linux CPU (arm64 arch)
97+
- os: ubuntu-22.04-arm
98+
architecture: "arm64"
99+
voicevox_core_asset_prefix: voicevox_core-linux-arm64-cpu
100+
onnxruntime_url: https://github.com/microsoft/onnxruntime/releases/download/v1.13.1/onnxruntime-linux-aarch64-1.13.1.tgz
101+
target: linux-cpu-arm64
96102
# Linux NVIDIA GPU
97103
- os: ubuntu-20.04
98104
architecture: "x64"

.github/workflows/test-engine-package.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
matrix:
3939
include:
4040
- os: ubuntu-20.04
41-
target: linux-cpu
41+
target: linux-cpu-x64
42+
- os: ubuntu-22.04-arm
43+
target: linux-cpu-arm64
4244
- os: ubuntu-20.04
4345
target: linux-nvidia
4446
- os: macos-13
@@ -81,5 +83,13 @@ jobs:
8183
if: startsWith(matrix.target, 'linux') || startsWith(matrix.target, 'macos')
8284
run: chmod +x dist/run
8385

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

0 commit comments

Comments
 (0)