Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Guillaume Baulieu
agapro
Commits
376bb5ea
Commit
376bb5ea
authored
Dec 03, 2018
by
Guillaume Baulieu
Browse files
Update of the gitlab-ci script: change the docker image and use the new gRaySoftware error code
parent
8798a85f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
.gitlab-ci.yml
.gitlab-ci.yml
+5
-12
No files found.
.gitlab-ci.yml
View file @
376bb5ea
image
:
gitlab-registry.in2p3.fr/ipnl_gamma/
ganpro
:latest
image
:
gitlab-registry.in2p3.fr/ipnl_gamma/
docker_gamma
:latest
stages
:
-
build
...
...
@@ -13,30 +13,23 @@ compile:
-
mkdir AgataSoftware
-
cd AgataSoftware
-
git clone https://gitlab.in2p3.fr/IPNL_GAMMA/scripts.git
-
(exit `
python scripts/gRaySoftware.py --adf=origin/preprod all
| grep "recipe for target" | grep failed | wc -l`)
-
(exit `
python scripts/gRaySoftware.py --mfm= all
| grep "recipe for target" | grep failed | wc -l`)
-
python scripts/gRaySoftware.py --adf=origin/preprod all
-
python scripts/gRaySoftware.py --mfm= all
-
cp -r ../narval_emulator ./agapro
-
echo "Compilation without ROOT..."
-
(exit `
python scripts/gRaySoftware.py --agapro= conf compile install
| grep "recipe for target" | grep failed | wc -l`)
-
python scripts/gRaySoftware.py --agapro= conf compile install
-
export ROOTSYS=/opt/root/
-
export PATH=$ROOTSYS/bin/:$PATH
-
export LD_LIBRARY_PATH=$ROOTSYS/lib/:$LD_LIBRARY_PATH
-
echo "Compilation with ROOT..."
-
(exit `
python scripts/gRaySoftware.py --agapro= conf compile install
| grep "recipe for target" | grep failed | wc -l`)
-
python scripts/gRaySoftware.py --agapro= conf compile install
-
cd agapro/
-
mkdir -p cppcheck_output
-
cppcheck --xml --xml-version=2 --enable=style,performance,portability,unusedFunction -i AGATREE -i PRISMA -i cmake -i config -i zPrograms -i zUseful . 2> cppcheck_output/output.xml
-
cp -r cppcheck_output ../../narval_emulator/
# - cd doxyfiles/
# - rm -rf doc
# - doxygen Doxyfile.in
# - cd doc
# - tar -czf doxygen.tgz html
# - cp doxygen.tgz ../../../../narval_emulator/
artifacts
:
paths
:
-
./cppcheck_output/output.xml
# - ./doxygen.tgz
sonar
:
stage
:
publish
...
...
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