Skip to content

Commit

Permalink
Added debug build configuration to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz authored and Dead2 committed Oct 25, 2019
1 parent 7607676 commit 710fe98
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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: |
Expand Down

0 comments on commit 710fe98

Please sign in to comment.