From 2d73e74de2f57cd242f3c03f9e6bb22d7afa710c Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Tue, 26 Mar 2024 18:43:13 +0000 Subject: [PATCH] ci: Add weekly job with sanitizers --- utils/tests/gitlab-ci-scheduled.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/utils/tests/gitlab-ci-scheduled.yml b/utils/tests/gitlab-ci-scheduled.yml index ec48757ff..eb5a2ce49 100644 --- a/utils/tests/gitlab-ci-scheduled.yml +++ b/utils/tests/gitlab-ci-scheduled.yml @@ -23,7 +23,7 @@ - export CCACHE_DIR=${PWD}/$CCACHE_BASEDIR_VALUE - export MPI_CI=1 # missing the flag --disable-python - - ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --enable-mpi --disable-gtk + - ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --enable-mpi --disable-gtk $EXTRA_OPTIONS - if [[ "$CI_JOB_STAGE" == "build" ]]; then ./ns3 build; fi @@ -129,6 +129,24 @@ daily-test-optimized: variables: MODE: optimized +### Sanitizer tests +weekly-build-test-debug-sanitizers: + extends: .base-test + rules: + - if: $RELEASE == "weekly" + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + allow_failure: true + stage: build + needs: ["weekly-slow-jobs"] + dependencies: [] + variables: + MODE: optimized + EXTRA_OPTIONS: --enable-sanitizers + FORCE_TESTS: Force + tags: + - nsnam + - linux + ### Valgrind tests # Run the test.py script with files compiled in optimized mode + valgrind (daily) daily-build-test-optimized-valgrind: