File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments