summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@solidstatenetworks.com>2019-10-24 08:32:58 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2019-10-25 08:38:00 +0200
commit710fe986a54a5c27e5f9cf517da580331dbfbd14 (patch)
treed61546802d80ede72050245c9cc7abe3663ba634 /.github
parent7607676a1608069a48bfb583b2a2923ab882c451 (diff)
downloadProject-Tick-710fe986a54a5c27e5f9cf517da580331dbfbd14.tar.gz
Project-Tick-710fe986a54a5c27e5f9cf517da580331dbfbd14.zip
Added debug build configuration to GitHub Actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cmake.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 5cb5db888c..762c29d215 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -31,6 +31,7 @@ jobs:
Ubuntu 18.04 GCC SPARC64 Compat,
Ubuntu 18.04 GCC S390X Compat,
Ubuntu 18.04 Clang,
+ Ubuntu 18.04 Clang Debug,
Ubuntu 18.04 Clang MSAN,
Windows 2019 MSVC Win32,
Windows 2019 MSVC Win64,
@@ -203,6 +204,12 @@ jobs:
compiler: clang
codecov: ubuntu_clang
+ - name: Ubuntu 18.04 Clang Debug
+ os: ubuntu-18.04
+ compiler: clang
+ codecov: ubuntu_clang
+ build-config: Debug
+
- name: Ubuntu 18.04 Clang MSAN
os: ubuntu-18.04
compiler: clang
@@ -292,7 +299,7 @@ jobs:
run: |
mkdir ${{ matrix.build-dir || '.not-used' }}
cd ${{ matrix.build-dir || '.' }}
- ${{ matrix.cmake-prefix }} cmake ${{ matrix.build-src-dir || '.' }} ${{ matrix.cmake-args }} -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DWITH_GZFILEOP=ON
+ ${{ matrix.cmake-prefix }} cmake ${{ matrix.build-src-dir || '.' }} ${{ matrix.cmake-args }} -DCMAKE_BUILD_TYPE=${{ matrix.build-config || 'Release' }} -DBUILD_SHARED_LIBS=OFF -DWITH_GZFILEOP=ON
env:
CC: ${{ matrix.compiler }}
CFLAGS: ${{ matrix.cflags }}
@@ -302,7 +309,7 @@ jobs:
- name: Compile source code
run: |
cd ${{ matrix.build-dir || '.' }}
- ${{ matrix.cmake-prefix }} cmake --build . --config Release
+ ${{ matrix.cmake-prefix }} cmake --build . --config ${{ matrix.build-config || 'Release' }}
- name: Run test cases
run: |