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
radix
Commits
3b61396e
Commit
3b61396e
authored
Sep 02, 2020
by
Norby, Tom
Browse files
Yaml updates. Add manual fortify job.
parent
963f4f72
Pipeline
#116875
failed with stages
in 11 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3b61396e
...
...
@@ -4,8 +4,14 @@ variables:
stages
:
-
test
-
analysis
workflow
:
rules
:
-
if
:
$CI_COMMIT_BRANCH
mac_gcc_testing
:
stage
:
test
needs
:
[]
tags
:
-
mac
script
:
...
...
@@ -13,9 +19,6 @@ mac_gcc_testing:
-
git --version
-
module load cmake gcc/4.8.5 qt/5.9.1 vtk/8.1.0
-
which cmake
-
which python
-
python --version
-
python TriBITS/tribits/ci_support/clone_extra_repos.py
-
mkdir build
-
cd build
-
cmake -DTasmanian_DIR=/opt/tasmanian/6.0 ^
...
...
@@ -33,18 +36,17 @@ mac_gcc_testing:
-D ExperimentalTest
mac_llvm_testing
:
stage
:
test
needs
:
[]
tags
:
-
mac
script
:
-
which git
-
git --version
-
module load cmake qt/5.9.1 vtk/8.1.0
-
which python
-
python --version
-
python TriBITS/tribits/ci_support/clone_extra_repos.py
-
which cmake
-
mkdir build
-
cd build
-
which cmake
-
export radix_ENABLE_Fortran=OFF
-
cmake -DTasmanian_DIR=/opt/tasmanian/6.0 ^
-DBUILDNAME=$(uname -s)-LLVM-Debug-${CI_BUILD_REF_NAME} ^
...
...
@@ -61,19 +63,20 @@ mac_llvm_testing:
-D ExperimentalTest
linux_gcc_testing
:
stage
:
test
needs
:
[]
tags
:
-
linux
script
:
-
which git
-
git --version
-
which python
-
python --version
-
python TriBITS/tribits/ci_support/clone_extra_repos.py
-
mkdir build
-
cd build
-
module load cmake qt/5.9.0 vtk/8.1.0
-
which cmake
-
mkdir build
-
cd build
-
cmake -DTasmanian_DIR=/opt/vendors/tasmanian/6.0 ^
-DXercesC_INCLUDE_DIR=/opt/vendors/xerces-c/include ^
-DXercesC_LIBRARY=/opt/vendors/xerces-c/lib64/libxerces-c.so ^
-DBUILDNAME=$(uname -s)-GCC-4.8.5-Release-${CI_BUILD_REF_NAME} ^
-DCMAKE_BUILD_TYPE=Release ^
-Dradix_ENABLE_TESTS=ON ^
...
...
@@ -89,19 +92,19 @@ linux_gcc_testing:
linux_analysis
:
stage
:
analysis
needs
:
[
"
linux_gcc_testing"
]
tags
:
-
linux
script
:
-
which git
-
git --version
-
which python
-
python --version
-
python TriBITS/tribits/ci_support/clone_extra_repos.py
-
mkdir build
-
cd build
-
module load cmake valgrind
-
which cmake
-
mkdir build
-
cd build
-
cmake -DTasmanian_DIR=/opt/vendors/tasmanian/6.0/ ^
-DXercesC_INCLUDE_DIR=/opt/vendors/xerces-c/include ^
-DXercesC_LIBRARY=/opt/vendors/xerces-c/lib64/libxerces-c.so ^
-DCOVERAGE_EXTRA_FLAGS="-s ${CI_PROJECT_DIR}/googletest -d" ^
-DMEMCHECK_COMMAND=$(which valgrind) ^
-DBUILDNAME=$(uname -s)-GCC-4.8.5-Debug-${CI_BUILD_REF_NAME} ^
...
...
@@ -112,27 +115,65 @@ linux_analysis:
-Dradix_ENABLE_TESTS=ON ^
-Dradix_ENABLE_radixplot=OFF ^
-Dradix_ENABLE_radixwidgets=OFF ..
-
ctest --verbose --output-on-failure^
-
ctest --verbose --output-on-failure
^
-D ExperimentalStart ^
-D ExperimentalBuild ^
-D ExperimentalTest ^
-D ExperimentalMemCheck ^
-D ExperimentalCoverage
allow_failure
:
true
linux-fortify
:
stage
:
analysis
needs
:
[]
tags
:
-
linux
rules
:
-
when
:
manual
script
:
-
which git
-
git --version
-
module load cmake qt/5.9.0 vtk/8.1.0 fortify
-
which cmake
-
mkdir build
-
cd build
-
export CC="sourceanalyzer -b radix gcc"
-
export CXX="sourceanalyzer -b radix g++"
-
cmake -DTasmanian_DIR=/opt/vendors/tasmanian/6.0 ^
-DXercesC_INCLUDE_DIR=/opt/vendors/xerces-c/include ^
-DXercesC_LIBRARY=/opt/vendors/xerces-c/lib64/libxerces-c.so ^
-DBUILDNAME=$(uname -s)-GCC-4.8.5-Release-${CI_BUILD_REF_NAME} ^
-DCMAKE_BUILD_TYPE=Release ^
-Dradix_ENABLE_TESTS=ON ^
-DENABLE_PYTHON_WRAPPERS=ON ^
-Dradix_ENABLE_SECONDARY_TESTED_CODE=ON ^
-Dradix_ENABLE_TESTS=ON -DTPL_ENABLE_VTK=ON ^
-Dradix_ENABLE_radixplot=OFF ^
-Dradix_ENABLE_radixwidgets=OFF ..
## clean after cmake configure
-
sourceanalyzer -b radix -clean
-
make
-
sourceanalyzer -b radix -scan -f scanResults.fpr
-
ReportGenerator -format PDF -f radixReport.pdf -source scanResults.fpr -template "DeveloperWorkbook.xml"
-
mv radixReport.pdf ..
artifacts
:
paths
:
-
radixReport.pdf
expire_in
:
1 week
allow_failure
:
true
linux_openmpi_testing
:
stage
:
test
needs
:
[]
tags
:
-
linux
script
:
-
which git
-
git --version
-
which python
-
python --version
-
python TriBITS/tribits/ci_support/clone_extra_repos.py
-
mkdir build_mpi
-
cd build_mpi
-
module load cmake openmpi/1.8.1
-
which cmake
-
mkdir build_mpi
-
cd build_mpi
-
cmake -DBUILDNAME=$(uname -s)-MPI-1.8.1-Debug-${CI_BUILD_REF_NAME} ^
-DTPL_ENABLE_MPI=ON ^
-DMPI_BASEDIR=`dirname $(dirname $(which mpicc))` ^
...
...
@@ -148,18 +189,24 @@ linux_openmpi_testing:
-D ExperimentalTest
windows_mingw_testing
:
stage
:
test
needs
:
[]
tags
:
-
windows
script
:
-
ci\windows_mingw_testing.bat
windows_msvc_testing
:
stage
:
test
needs
:
[]
tags
:
-
nsmwin10
script
:
-
ci\windows_msvc_testing.bat
windows_intel_shared_testing
:
stage
:
test
needs
:
[]
tags
:
-
nsmwin10
script
:
...
...
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