[all] github: add build type to CI matrix

This commit is contained in:
Łukasz Kostka 2021-02-21 20:18:04 +01:00 committed by Geoffrey McRae
parent 8771103abb
commit 0089c1252f

View file

@ -6,6 +6,9 @@ jobs:
strategy:
matrix:
cc: [gcc, clang]
build_type:
- Release
- Debug
steps:
- uses: actions/checkout@v1
with:
@ -22,10 +25,12 @@ jobs:
libx11-dev libxss-dev libxi-dev \
wayland-protocols
- name: Configure client
env:
CC: /usr/bin/${{ matrix.cc }}
run: |
mkdir client/build
cd client/build
CC=/usr/bin/${{ matrix.cc }} cmake ..
cmake -DCMAKE_BUILD_TYPE={{ matrix.build_type }} ..
- name: Build client
run: |
cd client/build