ci: Switch CMake build configuration from Release to Debug (#95)

By default, CMake defines `NDEBUG` for the Release build configuration,
which effectively disables assertions and makes CI jobs less useful.
This commit is contained in:
Hennadii Stepanov 2023-12-01 04:12:28 +00:00 committed by GitHub
parent d809374661
commit 46d2b244c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,14 +17,14 @@ jobs:
fail-fast: false
# Set up a matrix to run the following 3 configurations:
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
# 1. <Windows, Debug, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Debug, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Debug, latest Clang compiler toolchain on the default runner image, default generator>
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest]
build_type: [Release]
build_type: [Debug]
c_compiler: [gcc, clang, cl]
include:
- os: windows-latest