File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,25 @@ jobs:
123123 with :
124124 java-version : " 17"
125125 distribution : " temurin"
126+ - name : Debug environment before build
127+ run : |
128+ echo "=== Xcode and build tools ==="
129+ xcode-select -p
130+ which clang || echo "clang not found"
131+ which clang++ || echo "clang++ not found"
132+ which make || echo "make not found"
133+ which cmake || echo "cmake not found"
134+ echo "=== Environment variables ==="
135+ echo "PATH=$PATH"
136+ echo "SDKROOT=$SDKROOT"
137+ echo "CMAKE_BINARY=$CMAKE_BINARY"
138+ echo "=== CMake version ==="
139+ 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
126145 - run : npm ci
127146 - run : npm run bootstrap
128147 env :
You can’t perform that action at this time.
0 commit comments