Expose macOS release build diagnostics
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user