From cc0b1cb156715383dce04b868a75b28f58e693fb Mon Sep 17 00:00:00 2001 From: APXD-git <63340491+APXD-git@users.noreply.github.com> Date: Mon, 23 Nov 2020 21:33:48 +0530 Subject: [PATCH] circle ci testing --- .circleci/config.yml | 9 ++++++++- BoardConfig.mk | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 70e1f96..fe63d37 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: FLAVOR: 'eng' TEST_BUILD: 'true' CHANGELOG: | - - Initial Official Test Build + - checking circle ci working_directory: /home/builder/pitchblack steps: - run: @@ -20,6 +20,13 @@ jobs: command: | wget -q https://raw.githubusercontent.com/PitchBlackRecoveryProject/vendor_utils/pb/build.sh source build.sh + export BUILDFILE=$(find $(pwd)/out/target/product/${CODENAME}/PBRP*.zip 2>/dev/null) + export BUILDIMG=$(find $(pwd)/out/target/product/${CODENAME}/recovery.img 2>/dev/null) + export UPLOAD_PATH=$(pwd)/out/target/product/${CODENAME}/upload/ + mkdir ${UPLOAD_PATH} + cp $BUILDFILE $UPLOAD_PATH + cp $BUILDIMG $UPLOAD_PATH + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -n "PBRP Release for $(echo $CODENAME)" -b "PBRP $(echo $VERSION)" -c ${CIRCLE_SHA1} -delete ${VERSION} ${UPLOAD_PATH} workflows: version: 2.1 build_and_test: diff --git a/BoardConfig.mk b/BoardConfig.mk index 3762118..e9c3f72 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -112,6 +112,7 @@ TW_EXCLUDE_TWRPAPP := true TW_HAS_EDL_MODE := true TW_USE_TOOLBOX := true TW_SKIP_COMPATIBILITY_CHECK := true +PB_DISABLE_DEFAULT_DM_VERITY := true PB_TORCH_PATH := "/sys/class/leds/led:torch_1" # Debug TWRP_INCLUDE_LOGCAT := true