Building an Android CI Pipeline With GitHub Actions
summary
Building an Android CI pipeline with GitHub Actions is concrete: YAML workflows run gradle assemble, cache ~/.gradle, parallelize jobs, upload artifacts and send Slack notifications, and use a macOS runner for emulator to run UI tests. Nightly builds and release workflows sign APKs, attach binaries to GitHub releases, and upload to Google Play or Firebase App Distribution. Real projects report ~10% gradle and ~60% overall build time improvements versus prior CI.
AI-written summary · about
chapters (30)
- 0:00Start
- 7:22the building blocks of a ci pipeline with github
- 9:27start building our own ci pipeline with github
- 9:42define a workflow
- 10:50add the jobs section
- 11:38start adding steps
- 12:06run the assemble gradle
- 13:03set up our gradle cache
- 14:31defined a github token and a slack web hook
- 15:59add some testing
- 17:38upload the test reports for those unit tests
- 21:39measure your builds
- 22:13measure the performance of your build
- 23:09add a nightly build to our ci pipeline
- 23:37start off by once again creating another workflow file
- 24:35check and automate ui tests
- 25:20running your android ui tests using github actions
- 25:52setting up the emulator and installing the code
- 26:58add a status badge for our nightly build workflow
- 27:43open up our readme directly from within github
- 28:35customize builds based on specific branches
- 29:22start by creating a new workflow
- 32:06assemble our apk
- 34:04customize your process
- 34:20create a release workflow
- 34:59set up our assemble job
- 36:39define the package name of your application
- 37:14upload your mapping file
- 38:05interact with your repo in some other way
- 44:57sharing workflows across multiple repositories
related talks
29mA brief guide to setting up CI for Android with GitHub Actions
40mAutomating Android Workflows with Github Actions
19mHow we migrated the CI / CD of our Android app to GitHub Actions
48mCICD with Github Actions
45mLights, Camera, GitHub Actions!
44mCI/CD with GitHub Actions
18mDeveloper Workflow Automation with GitHub Actions (CI/CD)
21mAzure Pipelines and GitHub Actions
