From b900aafbc4e212675432d11d8ca6ccdd20ebe43d Mon Sep 17 00:00:00 2001 From: flip1995 Date: Wed, 12 Feb 2020 11:16:41 +0100 Subject: [PATCH] Set LD_LIBRARY_PATH in integration tests Why did this work before on like 20 runs? --- .github/workflows/clippy_bors.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml index f77350f09b94..6e8b41d275b5 100644 --- a/.github/workflows/clippy_bors.yml +++ b/.github/workflows/clippy_bors.yml @@ -202,6 +202,11 @@ jobs: run: bash setup-toolchain.sh # Run + - name: Set LD_LIBRARY_PATH (Linux) + run: | + SYSROOT=$(rustc --print sysroot) + echo "::set-env name=LD_LIBRARY_PATH::${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" + - name: Build Integration Test run: cargo test --test integration --features integration --no-run @@ -291,6 +296,11 @@ jobs: run: chmod +x $CARGO_TARGET_DIR/debug/* # Run + - name: Set LD_LIBRARY_PATH (Linux) + run: | + SYSROOT=$(rustc --print sysroot) + echo "::set-env name=LD_LIBRARY_PATH::${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" + - name: Test ${{ matrix.integration }} run: $CARGO_TARGET_DIR/debug/integration env: