Add flutter build to CI
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed

This commit is contained in:
2025-07-17 18:52:16 +02:00
parent 17a22d7a4c
commit b9b871224b

View File

@@ -72,12 +72,31 @@ steps:
- ls -lah target/release/moneymgr_backend target/release/examples/api_curl
- cp target/release/moneymgr_backend target/release/examples/api_curl /tmp/release
# Mobile app
- name: mobile_app
image: ghcr.io/cirruslabs/flutter:latest
volumes:
- name: release
path: /tmp/release
depends_on:
- backend_test
- web_build
commands:
- cd moneymgr_mobile
- flutter --disable-analytics
- flutter pub get --enforce-lockfile
- dart run build_runner build
- flutter analyze
- flutter build apk --release --split-per-abi
- cp build/app/outputs/flutter-apk/app-arm64-v8a-release.apk /tmp/release/moneymgr_mobile_arm64-v8a.apk
# Release
- name: gitea_release
image: plugins/gitea-release
depends_on:
- backend_build
- mobile_app
when:
event:
- tag