From 0089c1252fdc5e90ee8e6a2d7e0223514ce7cc9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Kostka?= Date: Sun, 21 Feb 2021 20:18:04 +0100 Subject: [PATCH] [all] github: add build type to CI matrix --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9550a498..efbb278b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,9 @@ jobs: strategy: matrix: cc: [gcc, clang] + build_type: + - Release + - Debug steps: - uses: actions/checkout@v1 with: @@ -22,10 +25,12 @@ jobs: libx11-dev libxss-dev libxi-dev \ wayland-protocols - name: Configure client + env: + CC: /usr/bin/${{ matrix.cc }} run: | mkdir client/build cd client/build - CC=/usr/bin/${{ matrix.cc }} cmake .. + cmake -DCMAKE_BUILD_TYPE={{ matrix.build_type }} .. - name: Build client run: | cd client/build