From d9e2a3396f81e613e8823cdd1518326c15d2b6fa Mon Sep 17 00:00:00 2001 From: Maksim Kokryashkin Date: Tue, 17 Oct 2023 18:27:30 +0300 Subject: [PATCH] github: clang workflow --- .github/workflows/testing.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 2c637124f8..cb4ba57b21 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -35,6 +35,7 @@ jobs: BUILDTYPE: [Debug, Release] GC64: [ON, OFF] OS: [Linux, macOS] + CC: [gcc, clang] include: - BUILDTYPE: Debug CMAKEFLAGS: -DCMAKE_BUILD_TYPE=Debug -DLUA_USE_ASSERT=ON -DLUA_USE_APICHECK=ON @@ -45,12 +46,18 @@ jobs: GC64: OFF - OS: macOS GC64: OFF + - OS: macOS + CC: gcc + - ARCH: ARM64 + OS: Linux + CC: clang runs-on: [self-hosted, regular, '${{ matrix.OS }}', '${{ matrix.ARCH }}'] name: > LuaJIT (${{ matrix.OS }}/${{ matrix.ARCH }}) ${{ matrix.BUILDTYPE }} GC64:${{ matrix.GC64 }} + CC:${{ matrix.CC }} steps: - uses: actions/checkout@v3 with: @@ -64,6 +71,7 @@ jobs: if: ${{ matrix.OS == 'macOS' }} - name: configure run: > + CC=${{ matrix.CC }} cmake -S . -B ${{ env.BUILDDIR }} -G Ninja ${{ matrix.CMAKEFLAGS }}