[client] ci: fix clang build by using clang++

This commit is contained in:
Quantum 2021-07-17 20:24:43 -04:00 committed by Geoffrey McRae
parent 39ec32b2ef
commit e32494f684

View File

@ -5,7 +5,9 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
cc: [gcc, clang] compiler:
- {cc: gcc, cxx: g++}
- {cc: clang, cxx: clang++}
build_type: build_type:
- Release - Release
- Debug - Debug
@ -27,7 +29,8 @@ jobs:
wayland-protocols wayland-protocols
- name: Configure client - name: Configure client
env: env:
CC: /usr/bin/${{ matrix.cc }} CC: /usr/bin/${{ matrix.compiler.cc }}
CXX: /usr/bin/${{ matrix.compiler.cxx }}
run: | run: |
mkdir client/build mkdir client/build
cd client/build cd client/build