Skip to content

CI Build Job

The CI Build job runs a complete Flutter build for any platform. It handles dependencies, optional testing, code analysis, and artifact generation.

OptionDescriptionDefault
Build Moderelease, debug, or profilerelease
Run TestsExecute flutter testtrue
Run AnalyzeExecute dart analyzetrue
Environment VariablesKey-value pairs-

When executed, this job runs:

  1. flutter pub get - Install dependencies
  2. dart analyze - Code analysis (if enabled)
  3. flutter test - Run tests (if enabled)
  4. flutter build <platform> - Build the app

The job produces platform-specific artifacts:

PlatformArtifactLocation
iOSIPAbuild/ios/ipa/*.ipa
AndroidAABbuild/app/outputs/bundle/release/*.aab
AndroidAPKbuild/app/outputs/flutter-apk/*.apk
WebStatic filesbuild/web/
  • CI validation - Test and analyze on every push
  • Multi-platform builds - Build for all platforms in one job
  • Pre-deployment builds - Generate artifacts for deployment
┌──────────┐ ┌──────────┐ ┌──────────┐
│ On Push │────▶│ CI Build │────▶│ Notify │
└──────────┘ └──────────┘ └──────────┘

For platform-specific builds with more options, see: