mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 22:09:42 +00:00
Enable GCC test jobs
To build tests in release mode, run tests with sanitizers and measure coverage.
This commit is contained in:
parent
9ba3ab2be9
commit
48ddcda992
2 changed files with 5 additions and 4 deletions
|
@ -100,7 +100,7 @@ Ubuntu_GCC:
|
|||
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
|
||||
timeout: 2h
|
||||
|
||||
.Ubuntu_GCC_tests:
|
||||
Ubuntu_GCC_tests:
|
||||
extends: Ubuntu_GCC
|
||||
cache:
|
||||
key: Ubuntu_GCC_tests.ubuntu_22.04.v1
|
||||
|
@ -130,7 +130,7 @@ Ubuntu_GCC:
|
|||
reports:
|
||||
junit: build/tests.xml
|
||||
|
||||
.Ubuntu_GCC_tests_asan:
|
||||
Ubuntu_GCC_tests_asan:
|
||||
extends: Ubuntu_GCC
|
||||
cache:
|
||||
key: Ubuntu_GCC_asan.ubuntu_22.04.v1
|
||||
|
@ -148,7 +148,7 @@ Ubuntu_GCC:
|
|||
reports:
|
||||
junit: build/tests.xml
|
||||
|
||||
.Ubuntu_GCC_tests_ubsan:
|
||||
Ubuntu_GCC_tests_ubsan:
|
||||
extends: Ubuntu_GCC
|
||||
cache:
|
||||
key: Ubuntu_GCC_ubsan.ubuntu_22.04.v1
|
||||
|
@ -183,7 +183,7 @@ Ubuntu_GCC:
|
|||
reports:
|
||||
junit: build/tests.xml
|
||||
|
||||
.Ubuntu_GCC_tests_coverage:
|
||||
Ubuntu_GCC_tests_coverage:
|
||||
extends: .Ubuntu_GCC_tests_Debug
|
||||
cache:
|
||||
key: Ubuntu_GCC_tests_coverage.ubuntu_22.04.v1
|
||||
|
|
|
@ -92,6 +92,7 @@ for group in "$@"; do
|
|||
done
|
||||
|
||||
export APT_CACHE_DIR="${PWD}/apt-cache"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
set -x
|
||||
mkdir -pv "$APT_CACHE_DIR"
|
||||
apt-get update -yqq
|
||||
|
|
Loading…
Reference in a new issue