We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0242b32 commit 55e32acCopy full SHA for 55e32ac
1 file changed
.gitlab-ci.yml
@@ -68,3 +68,16 @@ syntax:
68
- DEBIAN_FRONTEND=noninteractive apt install -y tzdata
69
- apt install -y python3
70
- python3 syntax/check.py -r syntax/opdi.syntax.json tests macroexample.cpp omptexample.cpp
71
+
72
+address-sanitizer:
73
+ image: ubuntu:24.04
74
+ script:
75
+ - apt update && apt install -y build-essential binutils git clang libomp-dev
76
+ - git clone --depth 1 --branch develop https://github.com/SciCompKL/CoDiPack.git
77
+ - export CODI_DIR=$(pwd)/CoDiPack/include
78
+ - export OPDI_DIR=$(pwd)/include
79
+ - cd tests
80
+ - export CXX=clang++
81
+ - export CXXFLAGS="-g -fsanitize=address -fno-omit-frame-pointer"
82
+ - export OMP_NUM_THREADS=$(expr $(nproc --all) / 2)
83
+ - make all
0 commit comments