Skip to content

Commit

Permalink
test(libcrypto): fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Nov 20, 2024
1 parent 70eb196 commit ee32802
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#!/bin/bash
set -e

ls /usr/lib/x86_64-linux-gnu/libcrypto.*
echo "----"
ls /usr/include/openssl
echo "----"

echo "::group::Run unit tests ('$1' $CC / $CXX)"
cd "$GITHUB_WORKSPACE/core"
make clean generate_report
Expand Down
2 changes: 1 addition & 1 deletion core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ else
else
# Path on GitHub Action Runner (ubuntu-latest image)
ifeq ($(shell test -d "/usr/include/openssl" && echo yes || echo no),yes)
CRYPTO_INCLUDES += -I/usr/include/openssl
CRYPTO_INCLUDES += -I/usr/include
endif
endif
# Path on GitHub Action Runner (ubuntu-latest image)
Expand Down
2 changes: 1 addition & 1 deletion cpp/posix_openssl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ else
else
# Path on GitHub Action Runner (ubuntu-latest image)
ifeq ($(shell test -d "/usr/include/openssl" && echo yes || echo no),yes)
CFLAGS += -I/usr/include/openssl
CFLAGS += -I/usr/include
endif
endif
# Path on GitHub Action Runner (ubuntu-latest image)
Expand Down
2 changes: 1 addition & 1 deletion openssl/posix.mk
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ else
else
# Path on GitHub Action Runner (ubuntu-latest image)
ifeq ($(shell test -d "/usr/include/openssl" && echo yes || echo no),yes)
CFLAGS += -I/usr/include/openssl
CFLAGS += -I/usr/include
endif
endif
# Path on GitHub Action Runner (ubuntu-latest image)
Expand Down

0 comments on commit ee32802

Please sign in to comment.