[client] build with both GCC and Clang in Github Actions

This will let us catch issues that only one compiler wouldn't.
This commit is contained in:
Tudor Brindus 2021-01-15 18:06:58 -05:00 committed by Geoffrey McRae
parent 8f27789d25
commit a20930e5b6

View file

@ -3,6 +3,9 @@ on: [push, pull_request]
jobs: jobs:
client: client:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy:
matrix:
cc: [gcc, clang]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
with: with:
@ -16,7 +19,7 @@ jobs:
run: | run: |
mkdir client/build mkdir client/build
cd client/build cd client/build
cmake .. CC=/usr/bin/${{ matrix.cc }} cmake ..
- name: Build client - name: Build client
run: | run: |
cd client/build cd client/build