mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 00:28:20 +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:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user