[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:
1 parent
8f27789d25
commit
a20930e5b6
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user