mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 07:15:34 +00:00
Add CI jobs to build tests in debug mode
This commit is contained in:
parent
5357c67c3e
commit
e1c525914c
2 changed files with 24 additions and 0 deletions
|
@ -76,6 +76,15 @@ Debian_GCC_tests:
|
|||
CCACHE_SIZE: 1G
|
||||
BUILD_TESTS_ONLY: 1
|
||||
|
||||
Debian_GCC_tests_Debug:
|
||||
extends: Debian_GCC
|
||||
cache:
|
||||
key: Debian_GCC_tests_Debug.v1
|
||||
variables:
|
||||
CCACHE_SIZE: 1G
|
||||
BUILD_TESTS_ONLY: 1
|
||||
CMAKE_BUILD_TYPE: Debug
|
||||
|
||||
Debian_GCC_Static_Deps:
|
||||
extends: Debian_GCC
|
||||
cache:
|
||||
|
@ -118,6 +127,15 @@ Debian_Clang_tests:
|
|||
CCACHE_SIZE: 1G
|
||||
BUILD_TESTS_ONLY: 1
|
||||
|
||||
Debian_Clang_tests_Debug:
|
||||
extends: Debian_Clang
|
||||
cache:
|
||||
key: Debian_Clang_tests_Debug.v1
|
||||
variables:
|
||||
CCACHE_SIZE: 1G
|
||||
BUILD_TESTS_ONLY: 1
|
||||
CMAKE_BUILD_TYPE: Debug
|
||||
|
||||
.MacOS:
|
||||
image: macos-11-xcode-12
|
||||
tags:
|
||||
|
|
|
@ -34,6 +34,12 @@ if [[ $CI_OPENMW_USE_STATIC_DEPS ]]; then
|
|||
)
|
||||
fi
|
||||
|
||||
if [[ "${CMAKE_BUILD_TYPE}" ]]; then
|
||||
CMAKE_CONF_OPTS+=(
|
||||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
|
||||
)
|
||||
fi
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
|
|
Loading…
Reference in a new issue