From 63f347f060a626173a2bc2cfdd72cd599b19292b Mon Sep 17 00:00:00 2001 From: coso Date: Mon, 29 Dec 2025 16:10:57 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E7=A7=BB=E9=99=A4=20Linux=20ARM64=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ARM 模拟器构建太慢(1小时+),暂时移除 Linux ARM64 支持。 保留 macOS (ARM64/x64)、Windows (x64)、Linux (x64)。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/release.yml | 80 ----------------------------------- 1 file changed, 80 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 266a24a77..a3ff8a3ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,7 +88,6 @@ jobs: - **macOS (Intel)**: `proxycast_*_x64.dmg` - **Windows (64-bit)**: `proxycast_*_x64-setup.exe` - **Linux x64**: `proxycast_*_amd64.deb` / `proxycast_*_amd64.AppImage` - - **Linux ARM64**: `proxycast_*_arm64.deb` / `proxycast_*_arm64.AppImage` ### macOS 首次安装 @@ -103,82 +102,3 @@ jobs: releaseDraft: false prerelease: false args: --target ${{ matrix.target }} - - # Linux ARM64 使用模拟 ARM runner 构建 - build-linux-arm64: - runs-on: ubuntu-22.04 - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Cache rust build artifacts - uses: Swatinem/rust-cache@v2 - with: - workspaces: src-tauri - cache-on-failure: true - - - name: Build app in ARM64 emulator - uses: pguyot/arm-runner-action@v2.6.5 - with: - base_image: https://dietpi.com/downloads/images/DietPi_RPi5-ARMv8-Bookworm.img.xz - cpu: cortex-a72 - bind_mount_repository: true - image_additional_mb: 10240 - optimize_image: no - commands: | - # Prevent Rust from complaining about $HOME not matching eid home - export HOME=/root - - # Workaround to CI worker being stuck on Updating crates.io index - export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse - - # Install setup prerequisites - apt-get update -y --allow-releaseinfo-change - apt-get autoremove -y - apt-get install -y --no-install-recommends --no-install-suggests \ - curl \ - libwebkit2gtk-4.1-dev \ - build-essential \ - libssl-dev \ - libgtk-3-dev \ - libayatana-appindicator3-dev \ - librsvg2-dev \ - patchelf \ - libfuse2 \ - file - - # Install Rust - curl https://sh.rustup.rs -sSf | sh -s -- -y - . "$HOME/.cargo/env" - - # Install Node.js - curl -fsSL https://deb.nodesource.com/setup_20.x | bash - apt-get install -y nodejs - - # Install frontend dependencies - npm ci - - # Build the application - npm run tauri build -- --verbose - - - name: Get app version - run: echo "APP_VERSION=$(jq -r .version src-tauri/tauri.conf.json)" >> $GITHUB_ENV - - - name: Upload deb bundle to release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ github.event.inputs.version || github.ref_name }} - files: | - src-tauri/target/release/bundle/deb/*.deb - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Upload AppImage bundle to release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ github.event.inputs.version || github.ref_name }} - files: | - src-tauri/target/release/bundle/appimage/*.AppImage - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}