2021-12-10 17:36:59 +00:00
|
|
|
image: cirrusci/flutter
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
flutter_build_android: #Job name
|
|
|
|
stage: build # kind of job
|
|
|
|
before_script:
|
|
|
|
- flutter packages get
|
|
|
|
- flutter clean
|
|
|
|
script:
|
2021-12-10 17:57:37 +00:00
|
|
|
- flutter build apk --target-platform android-arm64
|
2021-12-10 17:36:59 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/app/outputs/apk/release/app-release.apk
|
2022-08-25 20:48:44 +00:00
|
|
|
|
|
|
|
flutter_lint:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- flutter format . --output none --set-exit-if-changed
|
|
|
|
|
|
|
|
flutter_analyze:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- flutter analyze ./lib
|