diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 687c4d9..0e0748b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 :" + echo '#include ' > /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