Skip to content

Commit

Permalink
Fix clang installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Rodrigues Lordello committed Aug 29, 2023
1 parent 10bbd4c commit 65b4f39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install Clang
run: |
LLVM_VERSION=$(rustc --version --verbose | sed -n 's/^LLVM version: \([0-9]*\).*$/\1/p')
curl -s https://apt.llvm.org/llvm.sh | sudo bash -s -- ${LLVM_VERSION}
- name: Lint
run: |
cargo fmt --all -- --check
Expand All @@ -25,7 +29,6 @@ jobs:
cargo test --release
- name: Test LLVM Intrinsics
run: |
sudo apt update && sudo apt install clang-16
cargo clippy --features llvm-intrinsics --all-targets -- -D warnings
cargo test --features llvm-intrinsics
cargo test --features llvm-intrinsics --release
Expand Down

0 comments on commit 65b4f39

Please sign in to comment.