File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,13 @@ jobs:
123123 with :
124124 java-version : " 17"
125125 distribution : " temurin"
126+ - name : Install compatible CMake version
127+ run : |
128+ # Install CMake 3.22.1 since 4.x may have compatibility issues with Hermes build system
129+ brew unlink cmake || true
130+ 131+ brew link [email protected] --force 132+ cmake --version
126133 - name : Debug environment before build
127134 run : |
128135 echo "=== Xcode and build tools ==="
@@ -137,11 +144,6 @@ jobs:
137144 echo "CMAKE_BINARY=$CMAKE_BINARY"
138145 echo "=== CMake version ==="
139146 cmake --version || echo "cmake command failed"
140- - name : Set required environment variables for Hermes build
141- run : |
142- # React Native's Hermes build script expects CMAKE_BINARY to be set
143- # Without it, the PATH preservation in env -i fails
144- echo "CMAKE_BINARY=$(which cmake)" >> $GITHUB_ENV
145147 - run : npm ci
146148 - run : npm run bootstrap
147149 env :
You can’t perform that action at this time.
0 commit comments