Commit f39411f5 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CI] remove /workspace for test & deploy, to get the version from the previous stage

parent ae805489
......@@ -19,6 +19,7 @@ variables:
.test_template: &test_definition
stage: test
script:
- rm -rf /workspace
- mv workspace /
- status=0
- echo -e "#!/bin/bash\nsource $DEVEL_HPP_DIR/config.sh\ncd $DEVEL_HPP_DIR/src/\$1/build-rel && make CTEST_OUTPUT_ON_FAILURE=1 test" > $DEVEL_HPP_DIR/test.sh || status=1
......@@ -51,6 +52,7 @@ variables:
.doc_template: &doc_definition
stage: deploy
script:
- rm -rf /workspace
- mv workspace /
- 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
......
Supports Markdown
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