OpenMediacenterMobileFlutter/.gitlab-ci.yml

26 lines
484 B
YAML
Raw Normal View History

image: cirrusci/flutter
stages:
- build
flutter_build_android: #Job name
stage: build # kind of job
before_script:
- flutter packages get
- flutter clean
script:
- flutter build apk --target-platform android-arm64
artifacts:
paths:
- build/app/outputs/apk/release/app-release.apk
flutter_lint:
stage: build
script:
- flutter format . --output none --set-exit-if-changed
flutter_analyze:
stage: build
script:
- flutter analyze ./lib