This commit is contained in:
yhirose
2026-01-12 23:09:03 -05:00
parent 1c97565d9e
commit 10f7d43703

View File

@@ -128,10 +128,12 @@ jobs:
ls -la "$(brew --prefix mbedtls)/include" || true
echo "Listing /opt/homebrew/opt/mbedtls/include:"
ls -la /opt/homebrew/opt/mbedtls/include || true
echo "Listing /opt/homebrew/include:"
ls -la /opt/homebrew/include || true
echo "Make dry-run (show compile command):"
cd test && make -n test_mbedtls MBEDTLS_DIR=$(brew --prefix mbedtls) || true
echo "Listing /opt/homebrew/opt/mbedtls/include/mbedtls:"
ls -la "$(brew --prefix mbedtls)/include/mbedtls" || true
echo "Attempt to compile a minimal test including <mbedtls/ctr_drbg.h>:"
echo '#include <mbedtls/ctr_drbg.h>' > /tmp/check_mbedtls.cpp
echo 'int main(){}' >> /tmp/check_mbedtls.cpp
clang++ -c /tmp/check_mbedtls.cpp -I"$(brew --prefix mbedtls)/include" -v -o /tmp/check_mbedtls.o || true
- name: build and run tests (OpenSSL)
if: matrix.tls_backend == 'openssl'
run: cd test && make