COVIDSafe code from version 2.5 (#49)

This commit is contained in:
COVIDSafe Support 2021-04-11 20:44:25 -07:00 committed by GitHub
parent bdf19e8b62
commit a63cc33286
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 136 additions and 7 deletions

60
.circleci/config.yml Normal file
View file

@ -0,0 +1,60 @@
# Circle CI Build config for COVIDSafe
version: 2.1
orbs:
android: circleci/android@0.2.0
executors:
android-executor: android/android
jobs:
# test the build
test-build:
executor: android-executor
steps:
- checkout
- run: touch local.properties
# do a UAT apk build
uat-build:
executor: android-executor
steps:
- checkout
- run:
command: ./gradlew assembleDebug
- store_artifacts:
path: ./app/build/outputs
# do a release build
release-build:
executor: android-executor
steps:
- checkout
- run:
command: ./gradlew assembleRelease
- store_artifacts:
path: ./app/build/outputs
workflows:
version: 2
build-deploy:
jobs:
# test the build on every commit on every branch
- test-build
# build a UAT apk on commit to master
- uat-build:
requires:
- test-build
filters:
branches:
only: master
# release a build on commit to any release branch
- release-build:
requires:
- test-build
filters:
branches:
only: /release_*/