Bitrise Flutter Sample

Bitrise status

This is a sample Flutter project that demonstrates a Bitrise CI/CD setup. Build history is publicly available here.

Project setup and config

Bitrise Workflow

primary Workflow

Workflow Steps

Primary workflow

This workflow is automatically run by Bitrise on every commit on every branch. In addition to running flutter analyze to check for code quality, this workflow also runs flutter test to execute unit tests. Finally, flutter drive is run to execute integration tests. All test results are uploaded to the "Apps & Artifacts" tab on the build.

deploy Workflow

Workflow steps

Deploy workflow

This workflow creates both an APK for Android devices and an IPA for iOS devices. Both can be found on the Apps & Artifacts tab on the build page. While no actual signing is done in this sample, the appropriate steps are in place. The "Android Sign" and "Certificate and Profile Installer" steps have been added for Android and iOS respectively.

Advanced use cases

While this repo demonstrates a simple project config on Bitrise, there are many advanced features that might be relevant for your project: