Skip to content

Commit 825387c

Browse files
kraenhansenclaude
andcommitted
ci: pin CMake on macOS unit tests
The macos-latest runner now ships CMake 4.2.x, but the project pins CMAKE_VERSION 4.1.2 (matching the React Native template and the version used by the test-macos / Android SDK jobs). The unit-tests job did not pin CMake, so macOS builds picked up the incompatible runner default. Install the pinned version via jwlawson/actions-setup-cmake, mirroring the test-macos job, gated to macOS runners. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCN2h9xbyn4yhxfVZyMzAm
1 parent 01746f7 commit 825387c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ jobs:
9292
with:
9393
packages: tools platform-tools ndk;${{ env.NDK_VERSION }}
9494
- run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android aarch64-apple-ios-sim
95+
# macOS runners ship a newer CMake than the project supports; pin it to match the version used elsewhere in CI
96+
- name: Install compatible CMake version
97+
if: runner.os == 'macOS'
98+
uses: jwlawson/actions-setup-cmake@v2
99+
with:
100+
cmake-version: ${{ env.CMAKE_VERSION }}
95101
- run: npm ci
96102
- run: npm run bootstrap
97103
- run: npm test

0 commit comments

Comments
 (0)