[LOCAL] Downgrade CMake for Mac machines, take2

This commit is contained in:
Riccardo Cipolleschi
2025-10-20 14:17:01 +01:00
parent e9f93b5429
commit db4cd9750d
+14 -5
View File
@@ -17,14 +17,23 @@ runs:
with:
path: ./packages/react-native/sdks/hermes/build_host_hermesc
key: v2-hermesc-apple-${{ inputs.hermes-version }}-${{ inputs.react-native-version }}
- name: BEFORE - Check Cmake version
shell: bash
run: |
cmake --version
- name: Downgrade CMake
shell: bash
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.28.3'
- name: Use cmake
run: |
# Uninstall any existing CMake version
brew uninstall --ignore-dependencies cmake || true
# Install specific CMake version (e.g., 3.21.4)
brew install cmake@3.28
# Add the specific CMake version to PATH
echo 'export PATH="/usr/local/opt/cmake@3.28/bin:$PATH"' >> $GITHUB_ENV
- name: AFTER - Check Cmake version
shell: bash
run: cmake --version
run: |
cmake --version
- name: Build HermesC Apple
shell: bash
run: |