Skip to content

Commit

Permalink
ci: Add weekly job with sanitizers
Browse files Browse the repository at this point in the history
  • Loading branch information
edalm authored and Gabrielcarvfer committed Apr 21, 2024
1 parent b656ab6 commit 2d73e74
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion utils/tests/gitlab-ci-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2d73e74

Please sign in to comment.