Closed tenhobi closed 4 years ago
https://github.com/subosito/flutter-action/issues/16
https://github.com/c-hive/basics/tree/8384a7f41e0045286921c3db11022baa45c73033/flutter-install-cache
It would be very cool to accomplish:
start) -> 1
1) setup + static analysis + test + coverage -> 2
2) build an android app -> 3
2) build an iOS app
3) release to Google Play ???
https://blog.codemagic.io/how-to-migrate-from-any-ci-and-why-flutter-needs-dedicated-ci/
$ flutter run (to run app )
$ flutter test (to test app unit, integration, widget tests)
$ flutter build apk --release (package android app)
$ flutter build ios --no-codesign (package iOS app without codesign)
https://edit.theappbusiness.com/setup-a-flutter-ci-cd-with-gitlab-ci-part-1-8d40b7a3b3dc https://edit.theappbusiness.com/setup-a-flutter-ci-cd-with-gitlab-ci-part-2-9dbbad54dbdb https://edit.theappbusiness.com/setup-a-flutter-ci-cd-with-gitlab-ci-part-3-8e67c91c6da7 (for GitLab CI, but whatever)
Android and iOS build lane.
Use fastline?? https://flutter.dev/docs/deployment/cd https://docs.fastlane.tools/
not sure how it works, but probably very interesting
Also, maybe take a look at https://appditto.com/blog/automate-your-flutter-workflow
As a result, I did create tool/ci.sh
file to run the needed commands. Also, I set up a matrix to run it in ubuntu and macos. Etc.
In main CI, do this improvements (Android):
google-services.json
file