mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 22:33:58 +00:00
[all] github: add build type to CI matrix
This commit is contained in:
parent
8771103abb
commit
0089c1252f
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -6,6 +6,9 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
cc: [gcc, clang]
|
cc: [gcc, clang]
|
||||||
|
build_type:
|
||||||
|
- Release
|
||||||
|
- Debug
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
with:
|
with:
|
||||||
|
@ -22,10 +25,12 @@ jobs:
|
||||||
libx11-dev libxss-dev libxi-dev \
|
libx11-dev libxss-dev libxi-dev \
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
- name: Configure client
|
- name: Configure client
|
||||||
|
env:
|
||||||
|
CC: /usr/bin/${{ matrix.cc }}
|
||||||
run: |
|
run: |
|
||||||
mkdir client/build
|
mkdir client/build
|
||||||
cd client/build
|
cd client/build
|
||||||
CC=/usr/bin/${{ matrix.cc }} cmake ..
|
cmake -DCMAKE_BUILD_TYPE={{ matrix.build_type }} ..
|
||||||
- name: Build client
|
- name: Build client
|
||||||
run: |
|
run: |
|
||||||
cd client/build
|
cd client/build
|
||||||
|
|
Loading…
Reference in a new issue