diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f3970c2..216c6e1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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`