Skip to content

Commit

Permalink
CI: Add llvm checker.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Sep 30, 2024
1 parent 87d66c2 commit 16e589b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,21 @@ jobs:
- name: Build cross
run: |
./build-apple.sh
llvm:
name: LLVM
runs-on: ubuntu-22.04
if: github.event_name != 'release'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: true
- name: Prepare
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository -y 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main'
sudo apt install -y clang
- name: Build
run: |
make CC=clang ENABLE_STATIC=1 -j`nproc`

0 comments on commit 16e589b

Please sign in to comment.