mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-16 16:06:45 +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.
|
# 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…
Reference in a new issue