Commit bc1b5e7a authored by Guilhem Saurel's avatar Guilhem Saurel

[WIP] try without workspaces

parent ed7ae341
Pipeline #2066 failed with stages
in 2 minutes and 38 seconds
......@@ -11,17 +11,17 @@ variables:
- $CI_PROJECT_DIR/script/auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME} --gitrepo ${CI_PROJECT_URL}/raw --target test-ci
after_script:
- mv $DEVEL_HPP_DIR $CI_PROJECT_DIR
artifacts:
expire_in: 1 day
when: always
paths:
- workspace
#artifacts:
#expire_in: 1 day
#when: always
#paths:
#- workspace
.test_template: &test_definition
stage: test
script:
- rm -rf /workspace
- mv workspace /
#- 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
- cat $DEVEL_HPP_DIR/test.sh
......@@ -45,17 +45,17 @@ variables:
allow_failure: true
after_script:
- mv $DEVEL_HPP_DIR $CI_PROJECT_DIR
artifacts:
expire_in: 1 day
when: always
paths:
- workspace
#artifacts:
#expire_in: 1 day
#when: always
#paths:
#- workspace
.doc_template: &doc_definition
stage: deploy
script:
- rm -rf /workspace
- mv workspace /
#- 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
- chmod u+x $DEVEL_HPP_DIR/doc.sh
......@@ -66,11 +66,11 @@ variables:
after_script:
- mv $DEVEL_HPP_DIR $CI_PROJECT_DIR
allow_failure: true
artifacts:
expire_in: 1 day
when: always
paths:
- workspace
#artifacts:
#expire_in: 1 day
#when: always
#paths:
#- workspace
master-build:
image: eur0c.laas.fr:5000/humanoid-path-planner/hpp-doc/master-premade:16.04
......
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