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: |