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
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixHPCProxy
Commits
1bd62dd7
Commit
1bd62dd7
authored
Jan 11, 2021
by
Pierre Aubert
Browse files
Add test and update CI
parent
5f606124
Pipeline
#99003
passed with stages
in 7 minutes and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
11 deletions
+51
-11
.gitlab-ci.yml
.gitlab-ci.yml
+48
-11
TESTS/TEST_PROXY_LIB/CMakeLists.txt
TESTS/TEST_PROXY_LIB/CMakeLists.txt
+3
-0
No files found.
.gitlab-ci.yml
View file @
1bd62dd7
image
:
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenix
hdf5/hdf5
:0.2
image
:
gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenix
/phoenix_minimal
:0.2
stages
:
-
BuildTestinstall
-
DocCoverage
-
deploy
#- build
...
...
@@ -9,8 +10,6 @@ stages:
#- deploy
dailyBuildMasterAll
:
variables
:
CONDA_ENV_DIR
:
/opt/conda/envs/ctadev
#cache:
#untracked: true
#paths:
...
...
@@ -29,16 +28,42 @@ dailyBuildMasterAll:
-DSELF_TESTS_MODE=yes
-
make all
-
make install
#
- make test
-
make test
only
:
-
branches
-
tags
tags
:
pages
:
variables
:
CONDA_ENV_DIR
:
/opt/conda/envs/ctadev
stage
:
deploy
TestCoverage
:
stage
:
DocCoverage
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
env
-
mkdir -p build coverage
-
cd build
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DSELF_TESTS_MODE=yes
-DCMAKE_BUILD_TYPE=Coverage
-
make all
-
make install
-
make test
-
make ExperimentalCoverage
-
cd ../coverage
-
gcovr -r ../ --html cov_report.html --html-details
-
gcovr -r ../ --xml Coverage.xml
artifacts
:
paths
:
-
coverage
expire_in
:
1d
only
:
-
branches
-
tags
tags
:
Doc
:
stage
:
DocCoverage
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
env
...
...
@@ -49,19 +74,18 @@ pages:
#- rm -fr PhoenixTex2Html
-
rm -fr build public
-
mkdir -p build
-
mkdir -p public
/html
-
mkdir -p public
-
cd build
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
-DSELF_TESTS_MODE=no
-
make all
-
make doc
#- scp -r doc/platex/* ../public
#- scp -r doc/html/* ../public/html
-
scp -r doc/html/* ../public
/
-
scp -r doc/html/* ../public
artifacts
:
paths
:
-
public
...
...
@@ -72,3 +96,16 @@ pages:
tags
:
pages
:
stage
:
deploy
script
:
-
mv coverage public/
artifacts
:
paths
:
-
public
expire_in
:
1d
TESTS/TEST_PROXY_LIB/CMakeLists.txt
View file @
1bd62dd7
...
...
@@ -11,5 +11,8 @@ add_executable(test_proxy_hadamard_product main.cpp)
target_link_libraries
(
test_proxy_hadamard_product hadamard_product dl
)
add_test
(
NAME TestProxyHadamardProduct
COMMAND
${
CMAKE_CURRENT_BINARY_DIR
}
/test_proxy_hadamard_product
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
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