fix(ci): set env var to look for lib in build/lib

LD_LIBRARY_PATH is set to BUILD_DIR/lib during rust tests in order to
find the runtime lib which it depends on
This commit is contained in:
youben11
2022-11-22 11:23:01 +01:00
committed by Ayoub Benaissa
parent 2877281aa6
commit 7f65f4f527

View File

@@ -223,7 +223,7 @@ test-compiler-file-output: concretecompiler
## rust-tests
run-rust-tests: rust-bindings
cd lib/Bindings/Rust && CONCRETE_COMPILER_BUILD_DIR=$(abspath $(BUILD_DIR)) cargo test --release
cd lib/Bindings/Rust && CONCRETE_COMPILER_BUILD_DIR=$(abspath $(BUILD_DIR)) LD_LIBRARY_PATH=$(abspath $(BUILD_DIR))/lib cargo test --release
## end-to-end-tests