Skip to content

Commit fcba7f3

Browse files
committed
Downgrade CMake on Mac machines
1 parent 296998d commit fcba7f3

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.github/actions/build-hermesc-apple/action.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,6 @@ runs:
1717
with:
1818
path: ./packages/react-native/sdks/hermes/build_host_hermesc
1919
key: v2-hermesc-apple-${{ inputs.hermes-version }}-${{ inputs.react-native-version }}
20-
- name: BEFORE - Check Cmake version
21-
shell: bash
22-
run: |
23-
cmake --version
24-
- name: Downgrade CMake
25-
shell: bash
26-
run: |
27-
# Install specific CMake version (e.g., 3.21.4)
28-
brew install [email protected]
29-
# Add the specific CMake version to PATH
30-
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> $GITHUB_ENV
31-
- name: AFTER - Check Cmake version
32-
shell: bash
33-
run: |
34-
cmake --version
3520
- name: Build HermesC Apple
3621
shell: bash
3722
run: |

.github/workflows/test-all.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ jobs:
6363
steps:
6464
- name: Checkout
6565
uses: actions/checkout@v4
66+
- name: Install cmake
67+
uses: jwlawson/actions-setup-cmake@v2
68+
with:
69+
cmake-version: '3.31.9'
6670
- name: Build HermesC Apple
6771
uses: ./.github/actions/build-hermesc-apple
6872
with:
@@ -87,6 +91,10 @@ jobs:
8791
steps:
8892
- name: Checkout
8993
uses: actions/checkout@v4
94+
- name: Install cmake
95+
uses: jwlawson/actions-setup-cmake@v2
96+
with:
97+
cmake-version: '3.31.9'
9098
- name: Build Slice
9199
uses: ./.github/actions/build-apple-slices-hermes
92100
with:

0 commit comments

Comments
 (0)