Skip to content

Commit 4dcbb26

Browse files
fix(ci): correct Windows ARM64 build configuration
- release.yml: use 'windows-11-arm' runner (was 'windows-latest' which would cross-compile on x64 instead of building natively) - release.yml: add missing 'Add rust target' step (was in build.yml but missing from release.yml) - build.yml: fix extra space in 'if :' condition - Remove unrelated gptme.toml (not CI-related)
1 parent b6f42d6 commit 4dcbb26

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ jobs:
6060

6161
- name: Prebuild
6262
run: make prebuild
63-
63+
6464
- name: Add rust target
65-
if : matrix.args != null
65+
if: matrix.args != null
6666
run: rustup target add $(echo "${{ matrix.args }}" | cut -d' ' -f2)
6767

6868
- name: Build the app

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- platform: 'ubuntu-24.04'
2020
- platform: 'ubuntu-24.04-arm' # for Arm based linux.
2121
- platform: 'windows-latest'
22-
- platform: 'windows-latest' # for Windows ARM64
22+
- platform: 'windows-11-arm' # for Windows ARM64
2323
args: '--target aarch64-pc-windows-msvc'
2424
runs-on: ${{ matrix.platform }}
2525

@@ -76,6 +76,10 @@ jobs:
7676
- name: Prebuild
7777
run: make prebuild
7878

79+
- name: Add rust target
80+
if: matrix.args != null
81+
run: rustup target add $(echo "${{ matrix.args }}" | cut -d' ' -f2)
82+
7983
- name: Build the app
8084
uses: tauri-apps/tauri-action@v0
8185

gptme.toml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)