Skip to content

Commit

Permalink
Add clang in github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wengxt committed Mar 1, 2024
1 parent 75733b3 commit b866667
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,22 @@ jobs:
name: Build and test
runs-on: ubuntu-latest
container: archlinux:latest
strategy:
fail-fast: false
matrix:
compiler: [gcc, clang]
include:
- compiler: gcc
cxx_compiler: g++
- compiler: clang
cxx_compiler: clang++
env:
CC: ${{ matrix.compiler }}
CXX: ${{ matrix.cxx_compiler }}
steps:
- name: Install dependencies
run: |
pacman -Syu --noconfirm base-devel cmake extra-cmake-modules xcb-util xcb-util-keysyms
pacman -Syu --noconfirm base-devel clang cmake extra-cmake-modules xcb-util xcb-util-keysyms
- name: Check out
uses: actions/checkout@v4
- name: Init CodeQL
Expand Down

0 comments on commit b866667

Please sign in to comment.