Skip to content

Commit 38298af

Browse files
committed
wip
1 parent dba6cbc commit 38298af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gitlab/generate-appsec.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,11 @@
9595
script:
9696
- switch-php $SWITCH_PHP_VERSION
9797
- cd appsec/build
98+
- if [[ "$SWITCH_PHP_VERSION" == *"asan"* ]]; then ASAN_FLAG=ON; else ASAN_FLAG=OFF; fi
9899
- "cmake .. -DCMAKE_BUILD_TYPE=Debug -DDD_APPSEC_BUILD_HELPER=OFF
99100
-DCMAKE_CXX_FLAGS='-stdlib=libc++' -DCMAKE_CXX_LINK_FLAGS='-stdlib=libc++'
100101
-DDD_APPSEC_TESTING=ON -DBOOST_CACHE_PREFIX=$CI_PROJECT_DIR/boost-cache
101-
-DENABLE_ASAN=ON"
102+
-DENABLE_ASAN=$ASAN_FLAG"
102103
- ASAN_OPTIONS=malloc_context_size=0 make -j 4 xtest
103104

104105
"appsec integration tests":

0 commit comments

Comments
 (0)