Skip to content

Commit fc102b4

Browse files
committed
Debugging with Copilot
1 parent 17ff79e commit fc102b4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/check.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,24 @@ 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: Ensure CMAKE_BINARY is set
141+
run: |
142+
# React Native's Hermes build script expects CMAKE_BINARY to be set
143+
echo "export CMAKE_BINARY=$(which cmake)" >> $GITHUB_ENV
126144
- run: npm ci
127145
- run: npm run bootstrap
128146
env:

0 commit comments

Comments
 (0)