Skip to content

Commit

Permalink
circle ci testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AP-XD committed Nov 23, 2020
1 parent acd1d75 commit cc0b1cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@ jobs:
FLAVOR: 'eng'
TEST_BUILD: 'true'
CHANGELOG: |
- Initial Official Test Build
- checking circle ci
working_directory: /home/builder/pitchblack
steps:
- run:
name: AIO Build
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:
Expand Down
1 change: 1 addition & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc0b1cb

Please sign in to comment.