Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
c504ac73
Commit
c504ac73
authored
6 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
Fix some issue with the CI
parent
9e7fd7e2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-8
2 additions, 8 deletions
.gitlab-ci.yml
cmake_modules/gitlab-ci-initial-cache.cmake
+4
-2
4 additions, 2 deletions
cmake_modules/gitlab-ci-initial-cache.cmake
tools/analysis.sh
+11
-0
11 additions, 0 deletions
tools/analysis.sh
with
17 additions
and
10 deletions
.gitlab-ci.yml
+
2
−
8
View file @
c504ac73
...
...
@@ -275,12 +275,6 @@ sonarqube:
-
sonar.log
script
:
-
cat *.log > chameleon_build.log
-
lcov -a $PWD/chameleon_starpu.lcov
-a $PWD/chameleon_starpu_simgrid.lcov
-a $PWD/chameleon_quark.lcov
-a $PWD/chameleon_parsec.lcov
-o $PWD/chameleon.lcov
-
lcov_cobertura.py chameleon.lcov --output chameleon_coverage.xml
-
./tools/analysis.sh
only
:
-
master@solverstack/chameleon
...
...
@@ -297,7 +291,7 @@ pages:
-
cd build
-
cmake .. -DCHAMELEON_ENABLE_DOC=ON
-
make doc -j5
-
mv doc
s
/doxygen ../public/
-
mv doc
s
/orgmode ../public/
-
mv doc/doxygen ../public/
-
mv doc/orgmode ../public/
only
:
-
master@solverstack/chameleon
This diff is collapsed.
Click to expand it.
cmake_modules/gitlab-ci-initial-cache.cmake
+
4
−
2
View file @
c504ac73
...
...
@@ -2,5 +2,7 @@ set(BUILD_SHARED_LIBS "ON" CACHE BOOL "")
set
(
CMAKE_INSTALL_PREFIX
"$ENV{PWD}/install"
CACHE PATH
""
)
set
(
CMAKE_VERBOSE_MAKEFILE
"ON"
CACHE BOOL
""
)
option
(
MORSE_ENABLE_WARNING
"Enable warning messages"
ON
)
option
(
MORSE_ENABLE_COVERAGE
"Enable flags for coverage test"
ON
)
option
(
MORSE_ENABLE_WARNING
"Enable warning messages"
ON
)
option
(
MORSE_ENABLE_COVERAGE
"Enable flags for coverage test"
ON
)
set
(
CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE BOOL
""
)
This diff is collapsed.
Click to expand it.
tools/analysis.sh
+
11
−
0
View file @
c504ac73
...
...
@@ -11,10 +11,20 @@
# - exclude cblas.h and lapacke-.h because not really part of chameleon and make cppcheck analysis too long
./tools/find_sources.sh
# Generate coverage xml output
lcov
-a
$PWD
/chameleon_starpu.lcov
-a
$PWD
/chameleon_starpu_simgrid.lcov
-a
$PWD
/chameleon_quark.lcov
-a
$PWD
/chameleon_parsec.lcov
-o
$PWD
/chameleon.lcov
lcov_cobertura.py chameleon.lcov
--output
chameleon_coverage.xml
# Undefine this because not relevant in our configuration
export
UNDEFINITIONS
=
"-UCHAMELEON_USE_OPENCL -UWIN32 -UWIN64 -U_MSC_EXTENSIONS -U_MSC_VER -U__SUNPRO_C -U__SUNPRO_CC -U__sun -Usun -U__cplusplus"
# run cppcheck analysis
cppcheck
-v
-f
--language
=
c
--platform
=
unix64
--enable
=
all
--xml
--xml-version
=
2
--suppress
=
missingInclude
${
UNDEFINITIONS
}
--file-list
=
./filelist.txt 2> chameleon_cppcheck.xml
# run rats analysis
rats
-w
3
--xml
`
cat
filelist.txt
`
>
chameleon_rats.xml
...
...
@@ -46,6 +56,7 @@ sonar.c.coverage.reportPath=chameleon_coverage.xml
sonar.c.cppcheck.reportPath=chameleon_cppcheck.xml
sonar.c.rats.reportPath=chameleon_rats.xml
sonar.c.clangsa.reportPath=build/analyzer_reports/*/*.plist
sonar.c.jsonCompilationDatabase=build/compile_commands.json
EOF
# run sonar analysis + publish on sonarqube-dev
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment