ci: 添加 Linux ARM64 (aarch64) 构建支持

- 添加 ubuntu-22.04-arm runner 构建 aarch64-unknown-linux-gnu 目标
- 更新 Linux 依赖安装条件支持所有 ubuntu 平台
This commit is contained in:
VirtualHotBar
2026-02-18 12:38:05 +08:00
parent 359388e8ad
commit bfe61a00a1

View File

@@ -214,6 +214,10 @@ jobs:
target: 'x86_64-unknown-linux-gnu'
args: ''
arch: 'x86_64'
- platform: 'ubuntu-22.04-arm'
target: 'aarch64-unknown-linux-gnu'
args: ''
arch: 'aarch64'
- platform: 'windows-latest'
target: 'x86_64-pc-windows-msvc'
args: ''
@@ -257,13 +261,11 @@ jobs:
key: binaries-${{ matrix.target }}-${{ env.RCLONE_VERSION }}-${{ env.OPENLIST_VERSION }}
- name: Install Linux dependencies
if: matrix.platform == 'ubuntu-22.04'
if: contains(matrix.platform, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
# NSIS 安装程序不需要额外依赖Tauri 会自动处理
- run: pnpm install --frozen-lockfile
# 如果二进制文件已缓存,跳过下载