Add RelWithDebInfo and Debug build types to GitHub actions

master
David Capello 2022-06-23 16:24:17 -03:00
parent 0aeacd46de
commit 3adfe13b7e
1 changed files with 3 additions and 2 deletions

View File

@ -7,11 +7,11 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [windows-latest, macos-latest, ubuntu-latest] os: [windows-latest, macos-latest, ubuntu-latest]
build_type: [debug] build_type: [RelWithDebInfo, Debug]
enable_ui: [off] enable_ui: [off]
include: include:
- os: ubuntu-latest - os: ubuntu-latest
build_type: debug build_type: Debug
enable_ui: on enable_ui: on
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -42,6 +42,7 @@ jobs:
export enable_ccache=on export enable_ccache=on
fi fi
cmake -S . -B build -G Ninja \ cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 \ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 \
-DENABLE_TESTS=ON \ -DENABLE_TESTS=ON \
-DENABLE_UI=${{ matrix.enable_ui }} \ -DENABLE_UI=${{ matrix.enable_ui }} \