This is a sample Flutter project that demonstrates a Bitrise CI/CD setup. Build history is publicly available here.
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.
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.
While this repo demonstrates a simple project config on Bitrise, there are many advanced features that might be relevant for your project:
- Fan-Out Builds -Could be used to separate building iOS, Android, and testing
- Collecting and exporting code signing files with codesigndoc
- Managing iOS code signing files - automatic provisioning