tsacdop-podcast-app-android/.circleci/config.yml

29 lines
837 B
YAML
Raw Normal View History

2020-02-13 04:18:56 +01:00
version: 2
jobs:
2020-07-16 12:31:45 +02:00
build:
2020-02-13 04:18:56 +01:00
docker:
2020-04-11 19:23:12 +02:00
- image: cirrusci/flutter:beta
2020-02-13 04:18:56 +01:00
branches:
only: master
steps:
- checkout
- run:
name: Run Flutter doctor
command: flutter doctor
2020-05-16 05:57:49 +02:00
- run:
name: Update package
command: flutter update-packages --force-upgrade
2020-02-13 07:35:30 +01:00
- run: echo $ENCODED_KEYSTORE | base64 -di > ${HOME}/keystore.jks
2020-02-13 07:26:38 +01:00
- run: echo 'export KEYSTORE=${HOME}/keystore.jks' >> $BASH_ENV
- run: dart tool/env.dart
2020-05-06 15:13:40 +02:00
- run:
name: Build the Android version
2020-07-16 13:30:08 +02:00
command: flutter build appbundle --obfuscate --split-debug-info=debug/
2020-05-19 09:14:44 +02:00
- run:
name: Build the Android apk
2020-07-16 13:30:08 +02:00
command: flutter build apk --split-per-abi --obfuscate --split-debug-info=debug/
2020-02-13 04:18:56 +01:00
- store_artifacts:
2020-07-16 12:31:45 +02:00
path: build/app/outputs/