Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
rsm
Commits
e21d7dba
Commit
e21d7dba
authored
May 07, 2020
by
Norby, Tom
Browse files
#3
. Setup manual fortify run in gitlab.
parent
efc89193
Pipeline
#100755
passed with stages
in 15 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e21d7dba
variables
:
variables
:
GIT_SUBMODULE_STRATEGY
:
normal
GIT_SUBMODULE_STRATEGY
:
normal
stages
:
stages
:
-
test
-
test
-
analysis
-
analysis
workflow
:
rules
:
-
if
:
$CI_MERGE_REQUEST_ID
-
if
:
$CI_COMMIT_TAG
-
if
:
$CI_COMMIT_BRANCH == "master"
mac_llvm_testing
:
mac_llvm_testing
:
stage
:
test
tags
:
tags
:
-
mac
-
mac
script
:
script
:
...
@@ -28,6 +36,7 @@ mac_llvm_testing:
...
@@ -28,6 +36,7 @@ mac_llvm_testing:
-D ExperimentalTest
-D ExperimentalTest
linux_gcc_testing
:
linux_gcc_testing
:
stage
:
test
tags
:
tags
:
-
linux
-
linux
script
:
script
:
...
@@ -49,6 +58,13 @@ linux_gcc_testing:
...
@@ -49,6 +58,13 @@ linux_gcc_testing:
-D ExperimentalStart
-D ExperimentalStart
-D ExperimentalBuild
-D ExperimentalBuild
-D ExperimentalTest
-D ExperimentalTest
windows_msvc_testing
:
stage
:
test
tags
:
-
nsmwin10
script
:
-
ci\windows_testing.bat
linux_analysis
:
linux_analysis
:
stage
:
analysis
stage
:
analysis
...
@@ -79,9 +95,34 @@ linux_analysis:
...
@@ -79,9 +95,34 @@ linux_analysis:
-D ExperimentalMemCheck
-D ExperimentalMemCheck
-D ExperimentalCoverage
-D ExperimentalCoverage
allow_failure
:
true
allow_failure
:
true
windows_msvc_testing
:
Linux-fortify
:
stage
:
analysis
tags
:
tags
:
-
nsmwin10
-
linux
rules
:
-
when
:
manual
script
:
script
:
-
ci\windows_testing.bat
-
which git
-
git --version
-
mkdir build
-
cd build
-
module load cmake qt/5.9.0 fortify
-
export CC="sourceanalyzer -b rsm gcc"
-
export CXX="sourceanalyzer -b rsm g++"
-
cmake -Drsm_ENABLE_TESTS=OFF
-DOPENSSL_ROOT_DIR=/opt/vendors/openssl/1.1.1d/
-DLibSSH_DIR=/opt/vendors/libssh/0.9.3/lib64/cmake/libssh/
-Drsm_ENABLE_rsmcore=ON
-Drsm_ENABLE_rsmwidgets=OFF ..
## clean after cmake configure
-
sourceanalyzer -b rsm -clean
-
make
-
sourceanalyzer -b rsm -scan -f scanResults.fpr
-
ReportGenerator -format PDF -f rsmReport.pdf -source scanResults.fpr -template "DeveloperWorkbook.xml"
-
mv rsmReport.pdf ..
artifacts
:
paths
:
-
rsmReport.pdf
expire_in
:
1 week
allow_failure
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment