Case study

Automating Unreal Engine Android & iOS Builds with GitHub Actions

automating Unreal Engine 5.6 Android and iOS builds with GitHub Actions and self-hosted runners, with distribution to Firebase, Google Play and TestFlight.

This is an anonymized experience summary. The client, project name, internal URLs, scripts, credentials, and performance figures are not published.

Project Context

A small studio developing a mobile title on Unreal Engine 5.6 for Android and iOS, with the project hosted in GitHub. The team had no dedicated DevOps engineer. Builds were produced on demand by whichever engineer was available.

Challenge

Each platform build was a manual sequence: pull the latest changes, open the editor, package, sign, upload, and tell the team. Android and iOS each took an afternoon, and the iOS steps depended on one person’s Mac and keychain. Releases to testers slipped whenever that person was busy, and build settings drifted between machines.

Technical Requirements

  • Automated Android and iOS packaging triggered by pushes to release branches and by manual dispatch.
  • Signing and store credentials stored as encrypted secrets, never on a developer machine or in the repository.
  • Consistent version and build numbers across both platforms and all distribution targets.
  • Delivery to Firebase App Distribution, Google Play internal testing, and TestFlight without manual uploads.
  • A Slack message per build with status, version, and links.
  • Documentation that lets the team operate the pipeline without me.

Architecture

GitHub Actions orchestrates the pipeline. Two self-hosted runners do the work: a Windows machine with the engine, Android SDK and NDK for Android packaging, and a Mac with the engine and the matching Xcode for iOS. A final job collects results from both and notifies Slack.

GitHub Repository
  push release/*  or  workflow_dispatch
        |
  GitHub Actions  (build-mobile.yml)
        |
   +----+-----------------------+
   |                            |
Windows runner              macOS runner
UE 5.6, Android SDK/NDK     UE 5.6, Xcode
   |                            |
Android .aab / .apk          iOS .ipa
signed with keystore         signed with profile
   |                            |
Firebase App Distribution    TestFlight
Google Play internal track
   |                            |
   +------------+---------------+
                |
         Slack #builds

Implementation

Runners

Both machines were brought to a documented baseline: pinned engine version, pinned platform SDKs, dedicated service accounts for the runner process, and scheduled cleanup of intermediate and Derived Data Cache folders so disk usage stays predictable. Runner labels identify engine version and platform so workflows target the right machine.

Workflows

The build workflow fans out into an Android job and an iOS job. Each job checks out the project, computes the version from a tag or a counter, runs packaging through the Unreal Automation Tool, signs the result, and uploads it. Secrets are injected at runtime from GitHub encrypted secrets, and the iOS job installs certificates and profiles into a temporary keychain that is removed when the job ends.

Distribution

Android builds go to Firebase App Distribution for the wider test group and to the Google Play internal testing track. iOS builds are uploaded to TestFlight. Release notes are generated from the commit range since the previous build.

Notifications

A final job posts a message to the studio’s Slack channel with per-platform status, version and build number, and links to the distribution targets. Failures include the job name and a link to the log.

Outcomes

  • Any engineer or producer can trigger a build. No single person is a bottleneck.
  • Android and iOS builds are produced from the same commit with the same version numbers.
  • Testers receive builds automatically instead of waiting for manual uploads.
  • Signing material and store credentials left developer machines entirely.
  • The runner setup and workflow behavior are documented and were handed over to the team.

Build time figures and percentage improvements are intentionally not published.

Lessons Learned

  • Pin everything. Engine, SDK, and Xcode versions must be explicit on the runner and in the documentation. Most breakages trace back to an unplanned update.
  • Disk is the first thing to fail. Scheduled cleanup of intermediates is not optional on an Unreal runner.
  • Keep signing out of the repository and off developer machines. Temporary keychains and encrypted secrets make the iOS job reproducible.
  • Notifications are part of the pipeline. A build nobody hears about is a build nobody tests.

Technologies Used

Unreal Engine 5.6GitHub ActionsWindows self-hosted runnermacOS self-hosted runnerAndroid SDK / NDKXcodeFirebase App DistributionGoogle Play ConsoleTestFlightSlack

At a glance

Engine
Unreal Engine 5.6
Platforms
Android, iOS
CI/CD
GitHub Actions on self-hosted Windows and macOS runners
Distribution
Firebase App Distribution, Google Play internal testing, TestFlight
Services
Pipeline implementation, Automated distribution
Published

Similar project?

Tell me about your engine, platforms, and current build process.Discuss Your Pipeline

Ready to Automate Your Game Builds?

Tell me about your engine, platforms, and current build process. I'll help you identify the next steps.