Skip to content

Commit 2264357

Browse files
authored
Disable flawfinder analyser as it doesn't support C++11 syntax (#1190)
As it doesn't support C++11 syntax. Add exclude dirs for Security jobs, so only sdk code is being scanned. Also fix typo in MacOS build script. Relates-To: OLPEDGE-2506 Signed-off-by: Yaroslav Stefinko <[email protected]>
1 parent 59f2eeb commit 2264357

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
image: ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${DOCKER_IMAGE_VERSION}
22

3+
# Gitlab SAST scanner jobs which runs on master
34
include:
45
- template: Security/SAST.gitlab-ci.yml
56
- template: Security/Secret-Detection.gitlab-ci.yml
67
- template: Security/License-Scanning.gitlab-ci.yml
78
- template: Security/Dependency-Scanning.gitlab-ci.yml
89

910
variables:
11+
# Linux
1012
LD_PRELOAD: "/lib/x86_64-linux-gnu/libSegFault.so"
1113
SEGFAULT_SIGNALS: "all"
14+
# Android
1215
ADB_INSTALL_TIMEOUT: "8"
16+
# Gitlab SAST scanner
17+
SAST_EXCLUDED_PATHS: "tests, examples, docs, scripts"
18+
SAST_EXCLUDED_ANALYZERS: "flawfinder"
1319

1420
stages:
1521
- build

scripts/macos/psv/azure_macos_build_psv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
mkdir -p build
2222
cd build
2323
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
24-
-OLP_SDK_BUILD_EXAMPLES=ON \
24+
-DOLP_SDK_BUILD_EXAMPLES=ON \
2525
-DBUILD_SHARED_LIBS=ON \
2626
-DOLP_SDK_ENABLE_TESTING=NO \
2727
..

0 commit comments

Comments
 (0)