Skip to content

Commit cc0b1cb

Browse files
committed
circle ci testing
1 parent acd1d75 commit cc0b1cb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.circleci/config.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,21 @@ jobs:
1212
FLAVOR: 'eng'
1313
TEST_BUILD: 'true'
1414
CHANGELOG: |
15-
- Initial Official Test Build
15+
- checking circle ci
1616
working_directory: /home/builder/pitchblack
1717
steps:
1818
- run:
1919
name: AIO Build
2020
command: |
2121
wget -q https://raw.githubusercontent.com/PitchBlackRecoveryProject/vendor_utils/pb/build.sh
2222
source build.sh
23+
export BUILDFILE=$(find $(pwd)/out/target/product/${CODENAME}/PBRP*.zip 2>/dev/null)
24+
export BUILDIMG=$(find $(pwd)/out/target/product/${CODENAME}/recovery.img 2>/dev/null)
25+
export UPLOAD_PATH=$(pwd)/out/target/product/${CODENAME}/upload/
26+
mkdir ${UPLOAD_PATH}
27+
cp $BUILDFILE $UPLOAD_PATH
28+
cp $BUILDIMG $UPLOAD_PATH
29+
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}
2330
workflows:
2431
version: 2.1
2532
build_and_test:

BoardConfig.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ TW_EXCLUDE_TWRPAPP := true
112112
TW_HAS_EDL_MODE := true
113113
TW_USE_TOOLBOX := true
114114
TW_SKIP_COMPATIBILITY_CHECK := true
115+
PB_DISABLE_DEFAULT_DM_VERITY := true
115116
PB_TORCH_PATH := "/sys/class/leds/led:torch_1"
116117
# Debug
117118
TWRP_INCLUDE_LOGCAT := true

0 commit comments

Comments
 (0)