Add RelWithDebInfo and Debug build types to GitHub actions
parent
0aeacd46de
commit
3adfe13b7e
|
@ -7,11 +7,11 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-latest, macos-latest, ubuntu-latest]
|
||||
build_type: [debug]
|
||||
build_type: [RelWithDebInfo, Debug]
|
||||
enable_ui: [off]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
build_type: debug
|
||||
build_type: Debug
|
||||
enable_ui: on
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -42,6 +42,7 @@ jobs:
|
|||
export enable_ccache=on
|
||||
fi
|
||||
cmake -S . -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
|
||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 \
|
||||
-DENABLE_TESTS=ON \
|
||||
-DENABLE_UI=${{ matrix.enable_ui }} \
|
||||
|
|
Loading…
Reference in New Issue