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
CTA-LAPP
PHOENIX_LIBS
PhoenixCompareFile
Commits
493d7f0a
Commit
493d7f0a
authored
Oct 03, 2020
by
Pierre Aubert
Browse files
Add CI
parent
6b56e29a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
0 deletions
+67
-0
.gitlab-ci.yml
.gitlab-ci.yml
+67
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
493d7f0a
image
:
ctalapp/cta_analysis
stages
:
-
BuildTestinstall
-
deploy
#- build
#- test
#- deploy
dailyBuildMasterAll
:
variables
:
CONDA_ENV_DIR
:
/opt/conda/envs/ctadev
#cache:
#untracked: true
#paths:
#- build/
stage
:
BuildTestinstall
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
source activate ${CONDA_ENV}
-
env
-
mkdir -p build
-
cd build
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DSELF_TESTS_MODE=yes
-
make all
-
make install
only
:
-
branches
-
tags
tags
:
pages
:
variables
:
CONDA_ENV_DIR
:
/opt/conda/envs/ctadev
stage
:
deploy
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
source activate ${CONDA_ENV}
-
env
-
rm -fr build public
-
mkdir -p build
-
mkdir -p public
-
cd build
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
-
make all
-
make doc
-
scp -r doc/html/* ../public
artifacts
:
paths
:
-
public
expire_in
:
1d
only
:
-
branches
-
tags
tags
:
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