integration tests on CI (#12)

Run integration tests on CI
This commit is contained in:
Cyrill Leutwiler
2024-05-24 20:27:28 +02:00
committed by GitHub
parent 0e90f1fd8c
commit bdaf573f17
4 changed files with 25 additions and 6 deletions
+4 -1
View File
@@ -13,9 +13,12 @@ fn main() {
.read_to_string(&mut llvm_lib_dir)
.expect("llvm-config output should be utf8");
let lib_path = std::path::PathBuf::from(llvm_lib_dir.trim())
let mut lib_path = std::path::PathBuf::from(llvm_lib_dir.trim())
.join("linux")
.join(lib);
if !lib_path.exists() {
lib_path = std::path::PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap()).join(lib);
}
let archive = fs::read(lib_path).expect("clang builtins for riscv32 not found");
let out_dir = env::var_os("OUT_DIR").expect("has OUT_DIR");
Binary file not shown.