Expose macOS release build diagnostics

This commit is contained in:
2026-07-19 17:00:28 -05:00
parent 2dc8244057
commit 4dba40e8d3
+6 -2
View File
@@ -148,8 +148,12 @@ jobs:
TLS_CFLAGS="-I$GITHUB_WORKSPACE/openssl-static/include" \ TLS_CFLAGS="-I$GITHUB_WORKSPACE/openssl-static/include" \
TLS_LDLIBS="$OPENSSL_LIBDIR/libssl.a $OPENSSL_LIBDIR/libcrypto.a" \ TLS_LDLIBS="$OPENSSL_LIBDIR/libssl.a $OPENSSL_LIBDIR/libcrypto.a" \
2>&1 | tee "$build_log"; then 2>&1 | tee "$build_log"; then
message="$(tail -40 "$build_log" | tr '\n' ' ')" {
echo "::error title=macOS build failed::$message" echo '## macOS build failure'
echo '```text'
tail -80 "$build_log"
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
exit 1 exit 1
fi fi
if otool -L "dist/fossbench-${{ matrix.target }}" | grep -E 'lib(ssl|crypto)'; then if otool -L "dist/fossbench-${{ matrix.target }}" | grep -E 'lib(ssl|crypto)'; then