Skip to content

Commit e8ee9c9

Browse files
Update ci.yml
1 parent c3d8c86 commit e8ee9c9

1 file changed

Lines changed: 7 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -400,31 +400,17 @@ jobs:
400400
401401
export V=1
402402
403-
# Heartbeat to prevent timeout
403+
# Prevent timeout
404404
( while true; do echo "❤️ still building mac depends…"; sleep 60; done ) &
405405
406-
echo "▶ Creating fake clang wrappers (clang -> Darwin clang)…"
407-
mkdir -p fakeclang
406+
echo "▶ Adding real Darwin clang toolchain to PATH…"
407+
export PATH="$(pwd)/depends/x86_64-apple-darwin11/native/bin:$PATH"
408408
409-
cat <<'EOF' > fakeclang/clang
410-
#!/bin/bash
411-
exec x86_64-apple-darwin11-clang "$@"
412-
EOF
413-
414-
cat <<'EOF' > fakeclang/clang++
415-
#!/bin/bash
416-
exec x86_64-apple-darwin11-clang++ "$@"
417-
EOF
418-
419-
chmod +x fakeclang/clang fakeclang/clang++
420-
421-
# Place fake clang first in PATH so OpenSSL uses it
422-
export PATH="$(pwd)/fakeclang:$PATH"
423-
424-
echo "▶ PATH now using fake clang: $PATH"
409+
echo "Using clang at: $(which clang)"
410+
echo "Using clang++ at: $(which clang++)"
425411
426-
echo "▶ Building macOS depends…"
427-
make $MAKEJOBS -C depends HOST=${{ matrix.host }}
412+
echo "▶ Building macOS depends with HOST=x86_64-apple-darwin11…"
413+
make $MAKEJOBS -C depends HOST=x86_64-apple-darwin11
428414
429415
- name: Build AdventureCoin
430416
env:

0 commit comments

Comments
 (0)