From bfe61a00a195c22ef68858c5ad7e2f7ab3ff6d9b Mon Sep 17 00:00:00 2001 From: VirtualHotBar <96966978+VirtualHotBar@users.noreply.github.com> Date: Wed, 18 Feb 2026 12:38:05 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=20Linux=20ARM64=20(aar?= =?UTF-8?q?ch64)=20=E6=9E=84=E5=BB=BA=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 ubuntu-22.04-arm runner 构建 aarch64-unknown-linux-gnu 目标 - 更新 Linux 依赖安装条件支持所有 ubuntu 平台 --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd13019..ca77b4d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 # 如果二进制文件已缓存,跳过下载