Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: xermicus <cyrill@parity.io>
  • Loading branch information
xermicus committed May 24, 2024
1 parent a91d69b commit e148fbf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,20 @@ jobs:
- name: Install LLVM
run: curl -sSL --output llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04.tar.xz
- name: Extract LLVM
run: tar Jxf llvm.tar.xz
run: |
tar Jxf llvm.tar.xz
mv clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04 llvm18/
- name: Add LLVM to Path
run: echo "$(pwd)/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04/bin" >> $GITHUB_PATH
run: echo "$(pwd)/llvm18/bin" >> $GITHUB_PATH
- name: Perm
run: chmod +x "$(pwd)/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04/bin/llvm-config"
run: chmod +x "$(pwd)/llvm18/bin/llvm-config"
- name: Format
run: make format
- name: dbg
run: echo $PATH; ls -al clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04/bin
run: echo $PATH; ls -al $(pwd)/llvm18/
- name: Clippy
run: PATH="$(pwd)/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04/bin:$PATH" make clippy
run: |
export PATH=$(pwd)/llvm18/bin:$PATH
make clippy
- name: Integration
run: make test-integration
2 changes: 1 addition & 1 deletion crates/lld-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fn llvm_config(arg: &str) -> String {
print!("{:?}", std::env::var("PATH"));
panic!("{:?}", std::env::var("PATH"));
let output = std::process::Command::new("llvm-config")
.args([arg])
.output()
Expand Down

0 comments on commit e148fbf

Please sign in to comment.