diff options
| author | Dax Raad <[email protected]> | 2026-02-02 10:06:21 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-02-02 10:06:21 -0500 |
| commit | 06d63ca54cacfce5af7fdab216ffe7f35d778642 (patch) | |
| tree | 8b25291f38e0c00d463136c59bad78e5462e0081 /.github | |
| parent | 423778c93a9a976f3755c31a0398766b2d0c1e3f (diff) | |
| download | opencode-06d63ca54cacfce5af7fdab216ffe7f35d778642.tar.gz opencode-06d63ca54cacfce5af7fdab216ffe7f35d778642.zip | |
ci: use native ARM runner for faster Linux ARM builds
Switch from cross-compilation on x86_64 to native ARM runner, which improves build speed and reliability for Linux ARM binary distribution.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/publish.yml | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c610e3957..a1b492258 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -103,7 +103,7 @@ jobs: target: x86_64-pc-windows-msvc - host: blacksmith-4vcpu-ubuntu-2404 target: x86_64-unknown-linux-gnu - - host: blacksmith-4vcpu-ubuntu-2404 + - host: blacksmith-8vcpu-ubuntu-2404-arm target: aarch64-unknown-linux-gnu runs-on: ${{ matrix.settings.host }} steps: @@ -148,12 +148,6 @@ jobs: sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - - name: install cross toolchain (aarch64) - if: matrix.settings.target == 'aarch64-unknown-linux-gnu' - run: | - sudo apt-get update - sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross - - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: @@ -198,8 +192,6 @@ jobs: releaseAssetNamePattern: opencode-desktop-[platform]-[arch][ext] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: ${{ matrix.settings.target == 'aarch64-unknown-linux-gnu' && 'aarch64-linux-gnu-gcc' || '' }} - PKG_CONFIG_ALLOW_CROSS: ${{ matrix.settings.target == 'aarch64-unknown-linux-gnu' && '1' || '' }} TAURI_BUNDLER_NEW_APPIMAGE_FORMAT: true TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} |
