From 4ec4f09b35b38f9168f51b213d61069858494e5b Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 29 Apr 2024 11:32:19 +0200 Subject: [PATCH] Fix xssl tests Make sure to use the custom built TLS library. Signed-off-by: Steffen Jaeckel --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 49ef927..ff0777a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,19 +92,19 @@ jobs: - name: Build the library run: | ./bootstrap.sh - ./configure PKG_CONFIG_PATH="${HOME}/xssl/lib/pkgconfig" CFLAGS="-Werror -g3" --prefix="${HOME}/xssl" + PKG_CONFIG_PATH="${HOME}/xssl/lib/pkgconfig" ./configure CFLAGS="-Werror -g3" --prefix="${HOME}/xssl" make -j$(nproc) - name: Run tests run: | - make -j$(nproc) check + LD_LIBRARY_PATH="${HOME}/xssl/lib" make -j$(nproc) check - name: Build the library with Valgrind enabled run: | ./bootstrap.sh - ./configure --enable-valgrind PKG_CONFIG_PATH="${HOME}/xssl/lib/pkgconfig" CFLAGS="-Werror -g3" --prefix="${HOME}/xssl" + PKG_CONFIG_PATH="${HOME}/xssl/lib/pkgconfig" ./configure --enable-valgrind CFLAGS="-Werror -g3" --prefix="${HOME}/xssl" make -j$(nproc) - name: Run tests with Valgrind enabled run: | - make -j$(nproc) check-valgrind + LD_LIBRARY_PATH="${HOME}/xssl/lib" make -j$(nproc) check-valgrind - name: Error logs if: ${{ failure() }} run: |