From: Jan Altensen Date: Sat, 11 Apr 2020 01:32:03 +0000 (+0200) Subject: restructure for 17.1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2349c47da1518bfa67bef4de855c655467fae9d6;p=GitLab%2Fstricted-build%2Fandroid_build.git restructure for 17.1 Change-Id: I0a3f3cb0fb56718c4c7bdeab47108151c307998b --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e93bdf..40e62c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,13 +13,27 @@ build: script: - | + if [ ${VERSION} = '17.1' ]; then + export CCACHE_EXEC=$(which ccache) + export WITHOUT_CHECK_API=true + fi PATH="$HOME/bin:$PATH" if [ ${OTA} = 'false' ]; then export LINEAGE_VERSION_APPEND_TIME_OF_DAY=true fi - cd ~/android/lineage/${VERSION} + if [ -f ~/android/lineage/${VERSION} ]; then + cd ~/android/lineage/${VERSION} + else + mkdir -p ~/android/lineage/${VERSION} + cd ~/android/lineage/${VERSION} + if [ ${VERSION} = '14.1' ]; then + repo init -u git://github.com/LineageOS/android.git -b cm-${VERSION} + else + repo init -u git://github.com/LineageOS/android.git -b lineage-${VERSION} + fi + fi rm -rf .repo/local_manifests/* - cp ${CI_PROJECT_DIR}/manifests/lineage-${VERSION}-${DEVICE}.xml .repo/local_manifests/roomservice.xml + cp ${CI_PROJECT_DIR}/manifests/lineage-${VERSION}.xml .repo/local_manifests/roomservice.xml repo sync -d -c -j8 --force-sync . build/envsetup.sh if ! [ -z ${REPOPICK_NUMBERS} ]; then diff --git a/manifests/lineage-14.1-ttab.xml b/manifests/lineage-14.1-ttab.xml deleted file mode 100644 index 23e58ac..0000000 --- a/manifests/lineage-14.1-ttab.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/manifests/lineage-14.1.xml b/manifests/lineage-14.1.xml new file mode 100644 index 0000000..23e58ac --- /dev/null +++ b/manifests/lineage-14.1.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/manifests/lineage-15.1-s5neolte.xml b/manifests/lineage-15.1-s5neolte.xml deleted file mode 100644 index d0b10e2..0000000 --- a/manifests/lineage-15.1-s5neolte.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/manifests/lineage-15.1.xml b/manifests/lineage-15.1.xml new file mode 100644 index 0000000..d0b10e2 --- /dev/null +++ b/manifests/lineage-15.1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/manifests/lineage-17.1.xml b/manifests/lineage-17.1.xml new file mode 100644 index 0000000..7ac70f1 --- /dev/null +++ b/manifests/lineage-17.1.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/targets.json b/targets.json index be4e69a..eee994e 100644 --- a/targets.json +++ b/targets.json @@ -8,5 +8,20 @@ "device": "ttab", "version": "14.1", "build_type": "userdebug" + }, + { + "device": "dreamlte", + "version": "17.1", + "build_type": "userdebug" + }, + { + "device": "dream2lte", + "version": "17.1", + "build_type": "userdebug" + }, + { + "device": "greatlte", + "version": "17.1", + "build_type": "userdebug" } ] \ No newline at end of file