Enable GCC test jobs

To build tests in release mode, run tests with sanitizers and measure coverage.
check_span
elsid 2 years ago
parent 9ba3ab2be9
commit 48ddcda992
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -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…
Cancel
Save