Skip to content

The open source coding agent.

TypeScript

feat(desktop): arm64 build for linux (#5935)

NN7086339f3987136
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 6e2885ca46a..72e17da0403 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -105,6 +105,8 @@ jobs:
target: x86_64-pc-windows-msvc
- host: blacksmith-4vcpu-ubuntu-2404
target: x86_64-unknown-linux-gnu
+ - host: blacksmith-4vcpu-ubuntu-2404-arm
+ target: aarch64-unknown-linux-gnu
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v3
diff --git a/packages/tauri/scripts/utils.ts b/packages/tauri/scripts/utils.ts
index 3e74346c889..885d0afce89 100644
--- a/packages/tauri/scripts/utils.ts
+++ b/packages/tauri/scripts/utils.ts
@@ -21,6 +21,11 @@ export const SIDECAR_BINARIES: Array<{ rustTarget: string; ocBinary: string; ass
ocBinary: "opencode-linux-x64",
assetExt: "tar.gz",
},
+ {
+ rustTarget: "aarch64-unknown-linux-gnu",
+ ocBinary: "opencode-linux-arm64",
+ assetExt: "tar.gz",
+ },
]
export const RUST_TARGET = Bun.env.RUST_TARGET