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. # 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 timeout: 2h
.Ubuntu_GCC_tests: Ubuntu_GCC_tests:
extends: Ubuntu_GCC extends: Ubuntu_GCC
cache: cache:
key: Ubuntu_GCC_tests.ubuntu_22.04.v1 key: Ubuntu_GCC_tests.ubuntu_22.04.v1
@ -130,7 +130,7 @@ Ubuntu_GCC:
reports: reports:
junit: build/tests.xml junit: build/tests.xml
.Ubuntu_GCC_tests_asan: Ubuntu_GCC_tests_asan:
extends: Ubuntu_GCC extends: Ubuntu_GCC
cache: cache:
key: Ubuntu_GCC_asan.ubuntu_22.04.v1 key: Ubuntu_GCC_asan.ubuntu_22.04.v1
@ -148,7 +148,7 @@ Ubuntu_GCC:
reports: reports:
junit: build/tests.xml junit: build/tests.xml
.Ubuntu_GCC_tests_ubsan: Ubuntu_GCC_tests_ubsan:
extends: Ubuntu_GCC extends: Ubuntu_GCC
cache: cache:
key: Ubuntu_GCC_ubsan.ubuntu_22.04.v1 key: Ubuntu_GCC_ubsan.ubuntu_22.04.v1
@ -183,7 +183,7 @@ Ubuntu_GCC:
reports: reports:
junit: build/tests.xml junit: build/tests.xml
.Ubuntu_GCC_tests_coverage: Ubuntu_GCC_tests_coverage:
extends: .Ubuntu_GCC_tests_Debug extends: .Ubuntu_GCC_tests_Debug
cache: cache:
key: Ubuntu_GCC_tests_coverage.ubuntu_22.04.v1 key: Ubuntu_GCC_tests_coverage.ubuntu_22.04.v1

@ -92,6 +92,7 @@ for group in "$@"; do
done done
export APT_CACHE_DIR="${PWD}/apt-cache" export APT_CACHE_DIR="${PWD}/apt-cache"
export DEBIAN_FRONTEND=noninteractive
set -x set -x
mkdir -pv "$APT_CACHE_DIR" mkdir -pv "$APT_CACHE_DIR"
apt-get update -yqq apt-get update -yqq

Loading…
Cancel
Save