Skip to content

Commit

Permalink
Set LD_LIBRARY_PATH in integration tests
Browse files Browse the repository at this point in the history
Why did this work before on like 20 runs?
  • Loading branch information
flip1995 committed Feb 12, 2020
1 parent b0d25de commit b900aaf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b900aaf

Please sign in to comment.