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