mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-05-31 16:34:05 +08:00
ci: 添加 Linux ARM64 (aarch64) 构建支持
- 添加 ubuntu-22.04-arm runner 构建 aarch64-unknown-linux-gnu 目标 - 更新 Linux 依赖安装条件支持所有 ubuntu 平台
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -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
|
||||
|
||||
# 如果二进制文件已缓存,跳过下载
|
||||
|
||||
Reference in New Issue
Block a user