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