Skip to content

Commit d07241d

Browse files
16bit-ykikoclaude
andcommitted
feat(ci): use native runners for all platforms, drop QEMU/Rosetta
Replace cross-compilation with native runners: - macOS x86_64: macos-13 (Intel) instead of Rosetta on macos-15 - Linux aarch64: ubuntu-24.04-arm instead of QEMU on ubuntu-24.04 - Windows ARM64: windows-11-arm (kept from previous commit) Remove QEMU setup step and build_only logic since all platforms now build and test natively. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c5e8b31 commit d07241d

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

.github/workflows/test-cmake.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ jobs:
2929
build_type: Debug
3030
- os: macos-15
3131
build_type: RelWithDebInfo
32-
# ── Cross-compile builds ────────────────────────────────────────
33-
- os: macos-15
32+
# ── Additional platform builds ─────────────────────────────────
33+
- os: macos-13
3434
build_type: RelWithDebInfo
35-
target_triple: x86_64-apple-darwin
36-
- os: ubuntu-24.04
35+
- os: ubuntu-24.04-arm
3736
build_type: RelWithDebInfo
38-
target_triple: aarch64-linux-gnu
3937
- os: windows-11-arm
4038
build_type: RelWithDebInfo
4139
target_triple: aarch64-pc-windows-msvc
@@ -64,13 +62,6 @@ jobs:
6462
fi
6563
shell: bash
6664

67-
- name: Setup QEMU for aarch64 tests
68-
if: matrix.target_triple == 'aarch64-linux-gnu'
69-
run: |
70-
sudo apt-get update
71-
sudo apt-get install -y qemu-user-static libc6-arm64-cross libstdc++6-arm64-cross
72-
echo "QEMU_LD_PREFIX=/usr/aarch64-linux-gnu" >> "$GITHUB_ENV"
73-
7465
- name: Build (native)
7566
if: ${{ !matrix.target_triple }}
7667
run: pixi run build ${{ matrix.build_type }} ON
@@ -79,23 +70,17 @@ jobs:
7970
if: ${{ matrix.target_triple }}
8071
shell: bash
8172
run: |
82-
TEST_FLAG="ON"
83-
if [[ "${{ matrix.build_only }}" == "true" ]]; then
84-
TEST_FLAG="OFF"
85-
fi
86-
pixi run cmake-config ${{ matrix.build_type }} OFF "-DCLICE_ENABLE_TEST=${TEST_FLAG} -DCLICE_TARGET_TRIPLE=${{ matrix.target_triple }}"
73+
pixi run cmake-config ${{ matrix.build_type }} OFF "-DCLICE_ENABLE_TEST=ON -DCLICE_TARGET_TRIPLE=${{ matrix.target_triple }}"
8774
pixi run cmake-build ${{ matrix.build_type }}
8875
8976
- name: Unit Test
90-
if: ${{ !matrix.build_only }}
9177
run: pixi run unit-test ${{ matrix.build_type }}
9278

9379
- name: Integration Test
94-
if: ${{ !matrix.build_only }}
9580
run: pixi run integration-test ${{ matrix.build_type }}
9681

9782
- name: Smoke Test
98-
if: ${{ !matrix.build_only && (success() || failure()) }}
83+
if: success() || failure()
9984
run: pixi run smoke-test ${{ matrix.build_type }}
10085

10186
- name: Print cache stats and stop server

0 commit comments

Comments
 (0)