Commit 8c7463c8 authored by Christophe Deschamps's avatar Christophe Deschamps
Browse files

CI Amend


Former-commit-id: 4a30daf5d03f2980e49d88c52ab138093b9f65c9
parent a1282a6a
variables:
GIT_SUBMODULE_STRATEGY: recursive
.linux-prepare:
before_script:
##
## If a LINDOOR_USER_KEY is defined then start ssh-agent and add the key
##
- if ! [ -z ${LINDOOR_USER_KEY+x} ]; then eval $(ssh-agent -s); fi
- if ! [ -z ${LINDOOR_USER_KEY+x} ]; then echo "$LINDOOR_USER_KEY" | tr -d '\r' | ssh-add - > /dev/null; fi
- if ! [ -z ${LINDOOR_USER_KEY+x} ]; then mkdir -p ~/.ssh && chmod 700 ~/.ssh; fi
- if ! [ -z ${LINDOOR_USER_KEY+x} ]; then echo -e "Host gitlab.linphone.org\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config; fi
##
## Then configure ccache
##
- mkdir -p ccache
- echo "max_size = $CCACHE_SIZE" > ccache/ccache.conf
- echo $CCACHE_SIZE
- echo ${PWD}/ccache
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
- ccache -s
after_script:
- if ! [ -z ${LINDOOR_USER_KEY+x} ]; then rm -rf ~/.ssh || true; fi
- export CCACHE_DIR=${PWD}/ccache
- ccache -s
job-android:
extends: .linux-prepare
stage: build
tags: [ "docker-android" ]
image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:29
......
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