Skip to content

Commit 0a2c916

Browse files
16bit-ykikoclaude
andcommitted
feat(ci): unify cross-compile + native test pattern for all 3 new platforms
- Add win-arm64 to pixi platforms (6 total) - Move Windows ARM64 from native build to cross-compile from windows-2025 - All 3 new platforms (macOS x64, Linux aarch64, Windows ARM64) use the same pattern: cross-compile on original platform, test on native runner - Move flatbuffers from workspace deps to build feature (unavailable on win-arm64) - Add platform restrictions for build/format/node features (native tools like cmake, ruff, pnpm unavailable on win-arm64) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 846c9a9 commit 0a2c916

File tree

3 files changed

+215
-32
lines changed

3 files changed

+215
-32
lines changed

.github/workflows/test-cmake.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ jobs:
3939
target_triple: aarch64-linux-gnu
4040
build_only: true
4141
pixi_env: cross-linux-aarch64
42-
# ── Native ARM64 build + test ─────────────────────────────────
43-
- os: windows-11-arm
42+
- os: windows-2025
4443
build_type: RelWithDebInfo
4544
target_triple: aarch64-pc-windows-msvc
45+
build_only: true
46+
pixi_env: cross-windows-arm64
4647
runs-on: ${{ matrix.os }}
4748
steps:
4849
- name: Checkout repository
@@ -127,6 +128,9 @@ jobs:
127128
- os: ubuntu-24.04-arm
128129
build_type: RelWithDebInfo
129130
target_triple: aarch64-linux-gnu
131+
- os: windows-11-arm
132+
build_type: RelWithDebInfo
133+
target_triple: aarch64-pc-windows-msvc
130134
runs-on: ${{ matrix.os }}
131135
steps:
132136
- name: Checkout repository
@@ -143,6 +147,7 @@ jobs:
143147
path: build/${{ matrix.build_type }}/
144148

145149
- name: Make binaries executable
150+
if: runner.os != 'Windows'
146151
run: chmod +x build/${{ matrix.build_type }}/bin/*
147152

148153
- name: Unit Test

0 commit comments

Comments
 (0)