From: Jan Altensen Date: Tue, 15 Dec 2020 20:11:00 +0000 (+0100) Subject: use python 2.7 for 14.1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3a8a0f86471d37c31306a8a3cc3c007b6f629df4;p=GitLab%2Fstricted-build%2Fandroid_build.git use python 2.7 for 14.1 Change-Id: Iae03ca62a8a8e1f64992c072d0d73637fc9fb284 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0068af6..e57712b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,7 @@ build: script: - | + sudo update-alternatives --set python /usr/bin/python3 PATH="/home/build/bin:$PATH" if [ ${VERSION} = '17.1' ]; then export CCACHE_EXEC=$(which ccache) @@ -54,6 +55,9 @@ build: if [ -f device/*/${DEVICE}/patches/patch.sh ]; then device/*/${DEVICE}/patches/patch.sh fi + if [ ${VERSION} = '14.1' ]; then + sudo update-alternatives --set python /usr/bin/python2.7 + fi if [ ${CLEAN} = 'true' ]; then make clean else