CI #8
Workflow file for this run
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
name: Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-ubuntu-x86: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |
mv clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04 llvm18/ | |
- name: Add LLVM to Path | |
run: echo "$(pwd)/llvm18/bin" >> $GITHUB_PATH | |
- name: Dependencies | |
run: | | |
sudo apt update && sudo apt install -y libtinfo5 | |
- name: Perm | |
run: chmod +x "$(pwd)/llvm18/bin/llvm-config" | |
- name: Format | |
run: make format | |
- name: dbg | |
run: echo $PATH; ls -al $(pwd)/llvm18/; which llvm-config; llvm-config --version | |
- name: Clippy | |
run: | | |
export PATH=$(pwd)/llvm18/bin:$PATH | |
make clippy | |
- name: Integration | |
run: make test-integration |