Skip to content

Commit bfe61a0

Browse files
committed
ci: 添加 Linux ARM64 (aarch64) 构建支持
- 添加 ubuntu-22.04-arm runner 构建 aarch64-unknown-linux-gnu 目标 - 更新 Linux 依赖安装条件支持所有 ubuntu 平台
1 parent 359388e commit bfe61a0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ jobs:
214214
target: 'x86_64-unknown-linux-gnu'
215215
args: ''
216216
arch: 'x86_64'
217+
- platform: 'ubuntu-22.04-arm'
218+
target: 'aarch64-unknown-linux-gnu'
219+
args: ''
220+
arch: 'aarch64'
217221
- platform: 'windows-latest'
218222
target: 'x86_64-pc-windows-msvc'
219223
args: ''
@@ -257,13 +261,11 @@ jobs:
257261
key: binaries-${{ matrix.target }}-${{ env.RCLONE_VERSION }}-${{ env.OPENLIST_VERSION }}
258262

259263
- name: Install Linux dependencies
260-
if: matrix.platform == 'ubuntu-22.04'
264+
if: contains(matrix.platform, 'ubuntu')
261265
run: |
262266
sudo apt-get update
263267
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
264268
265-
# NSIS 安装程序不需要额外依赖,Tauri 会自动处理
266-
267269
- run: pnpm install --frozen-lockfile
268270

269271
# 如果二进制文件已缓存,跳过下载

0 commit comments

Comments
 (0)