Commit 84165a9d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[Gitlab-ci] 17.04 → 17.10, but not ready

parent 251aeac8
variables:
GIT_SSL_NO_VERIFY: "true"
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_DEPTH: "3"
IMAGE: "${CI_REGISTRY}/stack-of-tasks/pinocchio"
GIT_SSL_NO_VERIFY: "true"
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_DEPTH: "3"
PROJECT: "pinocchio"
ROBOTPKG: ${PROJECT}
IMAGE: "${CI_REGISTRY}/stack-of-tasks/${PROJECT}"
cache:
paths:
- build/ccache
.build: &build
before_script:
- mkdir -p build/ccache
- cd build
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
script:
- cmake -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ..
- make
- make test
- make install
retry: 2
except:
- gh-pages
before_script:
- mkdir -p build/ccache
- cd build
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
script:
- /checkout.sh
- cd /root/robotpkg/wip/${ROBOTPKG} && make install
- cd /root/robotpkg/wip/${ROBOTPKG}/work.*/${PROJECT}*/ && make test
retry: 2
except:
- gh-pages
build-14.04:
<<: *build
image: ${IMAGE}:14.04
<<: *build
image: ${IMAGE}:14.04
build-16.04:
<<: *build
image: ${IMAGE}:16.04
build-17.04:
<<: *build
image: ${IMAGE}:17.04
<<: *build
image: ${IMAGE}:16.04
pages:
image: ruby:2.3
retry: 2
variables:
JEKYLL_ENV: production
before_script:
- gem install jekyll-sitemap
script:
- jekyll build -d public
artifacts:
paths:
- public
only:
- gh-pages
build-17.10:
<<: *build
image: ${IMAGE}:17.10
allow_failure: true # robotpkg apt repository for 17.10 not yet working
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