Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit d63ed3b

Browse files
committed
ci
1 parent 4369d79 commit d63ed3b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ jobs:
148148
sudo apt-get update
149149
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
150150
151+
- name: install cross toolchain (aarch64)
152+
if: matrix.settings.target == 'aarch64-unknown-linux-gnu'
153+
run: |
154+
sudo apt-get update
155+
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross
156+
151157
- name: install Rust stable
152158
uses: dtolnay/rust-toolchain@stable
153159
with:
@@ -192,6 +198,8 @@ jobs:
192198
releaseAssetNamePattern: opencode-desktop-[platform]-[arch][ext]
193199
env:
194200
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
201+
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: ${{ matrix.settings.target == 'aarch64-unknown-linux-gnu' && 'aarch64-linux-gnu-gcc' || '' }}
202+
PKG_CONFIG_ALLOW_CROSS: ${{ matrix.settings.target == 'aarch64-unknown-linux-gnu' && '1' || '' }}
195203
TAURI_BUNDLER_NEW_APPIMAGE_FORMAT: true
196204
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
197205
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}

0 commit comments

Comments
 (0)