Commit 03450159 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

[Gitlab CI] Always make artifacts of test and deploy + fix deploy

parent 7fa02c78
Pipeline #761 passed with stages
in 133 minutes and 36 seconds
......@@ -11,6 +11,7 @@ variables:
- cp -r /clean_workspace $DEVEL_HPP_DIR
- $CI_PROJECT_DIR/script/auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME} --gitrepo https://gepgitlab.laas.fr/humanoid-path-planner/hpp-doc/raw --target benchmark
artifacts:
when: always
paths:
- workspace
......@@ -35,17 +36,23 @@ variables:
#- $DEVEL_HPP_DIR/test.sh hpp-wholebody-step-corba
allow_failure: true
artifacts:
when: always
paths:
- workspace
.doc_template: &doc_definition
stage: deploy
script:
- echo -e "#!/bin/bash\nsource $DEVEL_HPP_DIR/config.sh\nmake -C $DEVEL_HPP_DIR/src -s all" > $DEVEL_HPP_DIR/doc.sh
- cat $DEVEL_HPP_DIR/doc.sh
- chmod u+x $DEVEL_HPP_DIR/doc.sh
- export INSTALL_DOCUMENTATION=ON
- make -C $DEVEL_HPP_DIR/src -s all
#- make -C $DEVEL_HPP_DIR/src -s all
- $DEVEL_HPP_DIR/doc.sh
- tar czf hpp.${CI_COMMIT_REF_NAME}.`date +"%Y%m%d"`.tar.gz $DEVEL_HPP_DIR/install/share/doc
allow_failure: true
artifacts:
when: always
paths:
- workspace
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment