Skip to content

Commit b900aaf

Browse files
committed
Set LD_LIBRARY_PATH in integration tests
Why did this work before on like 20 runs?
1 parent b0d25de commit b900aaf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/clippy_bors.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ jobs:
202202
run: bash setup-toolchain.sh
203203

204204
# Run
205+
- name: Set LD_LIBRARY_PATH (Linux)
206+
run: |
207+
SYSROOT=$(rustc --print sysroot)
208+
echo "::set-env name=LD_LIBRARY_PATH::${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
209+
205210
- name: Build Integration Test
206211
run: cargo test --test integration --features integration --no-run
207212

@@ -291,6 +296,11 @@ jobs:
291296
run: chmod +x $CARGO_TARGET_DIR/debug/*
292297

293298
# Run
299+
- name: Set LD_LIBRARY_PATH (Linux)
300+
run: |
301+
SYSROOT=$(rustc --print sysroot)
302+
echo "::set-env name=LD_LIBRARY_PATH::${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
303+
294304
- name: Test ${{ matrix.integration }}
295305
run: $CARGO_TARGET_DIR/debug/integration
296306
env:

0 commit comments

Comments
 (0)