diff --git a/.github/workflows/build-engine-package.yml b/.github/workflows/build-engine-package.yml index d9ab5521d..c2deae1cb 100644 --- a/.github/workflows/build-engine-package.yml +++ b/.github/workflows/build-engine-package.yml @@ -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" diff --git a/.github/workflows/test-engine-package.yml b/.github/workflows/test-engine-package.yml index b5c4a5285..de8d3555f 100644 --- a/.github/workflows/test-engine-package.yml +++ b/.github/workflows/test-engine-package.yml @@ -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 @@ -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: 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 ENGINE package run: python tools/check_release_build.py --dist_dir dist/