Commit 22bf018b authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Change DEVEL_DIR -> DEVEL_HPP_DIR for gitlab + updates.

parent 8c142f15
docker login eur0c.laas.fr:4567
docker build -t eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:16.04 -f .dockers/ubuntu-16.04/Dockerfile . docker build -t eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:16.04 -f .dockers/ubuntu-16.04/Dockerfile .
docker build -t eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/devel-premade:16.04 -f .dockers/ubuntu-16.04/Dockerfile.premade . docker build -t eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/devel-premade:16.04 -f .dockers/ubuntu-16.04/Dockerfile.premade .
docker login eur0c.laas.fr:4567
docker push eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/devel-premade:16.04 docker push eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/devel-premade:16.04
FROM eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:16.04 FROM eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:16.04
RUN export DEVEL_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \ RUN export DEVEL_HPP_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \
/auto-install-hpp.sh --branch devel --target OpenSceneGraph-dae-plugin.install /auto-install-hpp.sh --branch devel --target OpenSceneGraph-dae-plugin.install
RUN export DEVEL_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \ RUN export DEVEL_HPP_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \
/auto-install-hpp.sh --branch devel --target qpOASES.install /auto-install-hpp.sh --branch devel --target qpOASES.install
RUN export DEVEL_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \ RUN export DEVEL_HPP_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \
/auto-install-hpp.sh --branch devel --target roboptim-trajectory-3.1.install /auto-install-hpp.sh --branch devel --target roboptim-trajectory-3.1.install
RUN export DEVEL_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \ RUN export DEVEL_HPP_DIR=/builds/humanoid-path-planner/hpp-doc/workspace; \
mv $DEVEL_DIR /clean_workspace mv $DEVEL_HPP_DIR /clean_workspace
variables: variables:
GIT_SSL_NO_VERIFY: "true" GIT_SSL_NO_VERIFY: "true"
GIT_SUBMODULE_STRATEGY: "recursive" GIT_SUBMODULE_STRATEGY: "recursive"
DEVEL_DIR: "$CI_PROJECT_DIR/workspace" DEVEL_HPP_DIR: "$CI_PROJECT_DIR/workspace"
BUILD_TYPE: "Release" BUILD_TYPE: "Release"
.build_template: &build_definition .build_template: &build_definition
stage: build stage: build
script: script:
- export INSTALL_DOCUMENTATION=OFF - export INSTALL_DOCUMENTATION=OFF
- cp -r /clean_workspace $DEVEL_DIR - cp -r /clean_workspace $DEVEL_HPP_DIR
- /auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME} - /auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME}
artifacts: artifacts:
paths: paths:
...@@ -17,20 +17,31 @@ variables: ...@@ -17,20 +17,31 @@ variables:
.test_template: &test_definition .test_template: &test_definition
stage: test stage: test
script: script:
- source $DEVEL_DIR/config.sh - source $DEVEL_HPP_DIR/config.sh
- cd $DEVEL_DIR/src/hpp-util/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-util/build-rel && make test
- cd $DEVEL_DIR/src/hpp-fcl/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-fcl/build-rel && make test
- cd $DEVEL_DIR/src/hpp-pinocchio/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-pinocchio/build-rel && make test
- cd $DEVEL_DIR/src/hpp-statistics/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-statistics/build-rel && make test
- cd $DEVEL_DIR/src/hpp-constraints/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-constraints/build-rel && make test
- cd $DEVEL_DIR/src/hpp-core/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-core/build-rel && make test
#- cd $DEVEL_DIR/src/hpp-corbaserver/build-rel && make test #- cd $DEVEL_HPP_DIR/src/hpp-corbaserver/build-rel && make test
- cd $DEVEL_DIR/src/hpp-manipulation/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-manipulation/build-rel && make test
- cd $DEVEL_DIR/src/hpp-manipulation-urdf/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-manipulation-urdf/build-rel && make test
#- cd $DEVEL_DIR/src/hpp-manipulation-corba/build-rel && make test #- cd $DEVEL_HPP_DIR/src/hpp-manipulation-corba/build-rel && make test
- cd $DEVEL_DIR/src/hpp-walkgen/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-walkgen/build-rel && make test
- cd $DEVEL_DIR/src/hpp-wholebody-step/build-rel && make test - cd $DEVEL_HPP_DIR/src/hpp-wholebody-step/build-rel && make test
#- cd $DEVEL_DIR/src/hpp-wholebody-step-corba/build-rel && make test #- cd $DEVEL_HPP_DIR/src/hpp-wholebody-step-corba/build-rel && make test
allow_failure: true
artifacts:
paths:
- workspace
.doc_template: &doc_definition
stage: deploy
script:
- export INSTALL_DOCUMENTATION=ON
- make -C $DEVEL_HPP_DIR/src -s all
- tar czf hpp.${CI_COMMIT_REF_NAME}.`date +"%Y%m%d"`.tar.gz $DEVEL_HPP_DIR/install/share/doc
allow_failure: true allow_failure: true
artifacts: artifacts:
paths: paths:
...@@ -77,3 +88,27 @@ devel-test: ...@@ -77,3 +88,27 @@ devel-test:
only: only:
- devel - devel
<<: *test_definition <<: *test_definition
master-doc:
image: eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/master-premade:16.04
dependencies:
- master-build
only:
- master
<<: *doc_definition
ubuntu-14.04-doc:
image: eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu-14.04-premade:14.04
dependencies:
- ubuntu-14.04-build
only:
- ubuntu-14.04
<<: *doc_definition
devel-doc:
image: eur0c.laas.fr:4567/humanoid-path-planner/hpp-doc/devel-premade:16.04
dependencies:
- devel-build
only:
- devel
<<: *doc_definition
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