Skip to content

Commit

Permalink
github: clang workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkokryashkin committed Oct 17, 2023
1 parent 968e510 commit d9e2a33
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -64,6 +71,7 @@ jobs:
if: ${{ matrix.OS == 'macOS' }}
- name: configure
run: >
CC=${{ matrix.CC }}
cmake -S . -B ${{ env.BUILDDIR }}
-G Ninja
${{ matrix.CMAKEFLAGS }}
Expand Down

0 comments on commit d9e2a33

Please sign in to comment.