Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
Linhome-Android
Commits
8c7463c8
Commit
8c7463c8
authored
Jun 26, 2020
by
Christophe Deschamps
Browse files
CI Amend
Former-commit-id: 4a30daf5d03f2980e49d88c52ab138093b9f65c9
parent
a1282a6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
.gitlab-ci.yml
.gitlab-ci.yml
+28
-0
No files found.
.gitlab-ci.yml
View file @
8c7463c8
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment