fix(ci): remove useless packages #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Test | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
LLVM_SYS_180_PREFIX: /usr/lib/llvm-18 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install toolchain | |
run: rustup show | |
- name: add llvm deb repository | |
uses: myci-actions/add-deb-repo@10 | |
with: | |
repo: deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main | |
repo-name: llvm-repo | |
keys-asc: https://apt.llvm.org/llvm-snapshot.gpg.key | |
- name: Install LLVM | |
run: sudo apt-get install llvm-18 llvm-18-dev llvm-18-runtime clang-18 clang-tools-18 lld-18 libpolly-18-dev libmlir-18-dev mlir-18-tools | |
- name: Run cargo fmt | |
run: cargo fmt -- --check | |
- name: Run cargo clippy | |
run: cargo clippy --all-features -- -D warnings | |