From 48ddcda99232c4431bcfa0935645361e947a108a Mon Sep 17 00:00:00 2001 From: elsid Date: Sun, 31 Jul 2022 13:44:36 +0200 Subject: [PATCH] Enable GCC test jobs To build tests in release mode, run tests with sanitizers and measure coverage. --- .gitlab-ci.yml | 8 ++++---- CI/install_debian_deps.sh | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 270a858dfd..417d4b9c63 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/CI/install_debian_deps.sh b/CI/install_debian_deps.sh index 27baaec01b..ed89063d3d 100755 --- a/CI/install_debian_deps.sh +++ b/CI/install_debian_deps.sh @@ -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