mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[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:
parent
8f27789d25
commit
a20930e5b6
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user