From bcbc609c29726171e3afc302bd1cf0882a474083 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 26 Sep 2024 22:04:15 +0000 Subject: [PATCH] ci: Add a clang run Signed-off-by: Colin Walters --- .github/workflows/test.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index be44c72..fc771f0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -93,6 +93,19 @@ jobs: - name: Build # focal's meson is too old for 'meson compile' run: ninja -C build + build-latest-clang: + runs-on: ubuntu-24.04 + name: "Build (24.04, clang)" + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install dependencies + run: sudo ./hacking/installdeps.sh + - name: Configure + run: env CC=clang meson setup build --werror + - name: Build + # focal's meson is too old for 'meson compile' + run: meson compile -C build build-unit-cross: runs-on: ubuntu-latest name: Build on ${{ matrix.arch }}