Skip to content

August 13, 2021 Demo

Recording

https://youtu.be/f4U_n-zJwYg

Current State

CI Templates

Docs

Mobile Development section on the CI/CD examples page https://docs.gitlab.com/ee/ci/examples/#mobile-development

Blog Posts

12 mobile related blog posts [spreadsheet]

Something missing? Please add it in a comment below.

Sample Projects

Platform App Source Template Fastlane
Android weatherapp github
iOS ios-weather github
Android materialistic github

Fastlane CI Example (Android)

image: ruby:2.7.4

stages:
  - test

before_script:
  - apt-get --quiet update --yes
  - apt-get --quiet install --yes openjdk-11-jdk android-sdk
  - export ANDROID_SDK_ROOT=/usr/lib/android-sdk
  - wget "https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip" -O /tmp/commandlinetools.zip
  - unzip /tmp/commandlinetools.zip -d /tmp
  - yes | /tmp/cmdline-tools/bin/sdkmanager --licenses --sdk_root=$ANDROID_SDK_ROOT || true
  - bundle install

fastlaneTest:
  stage: test
  script:
    - bundle exec fastlane test

Other Findings

Up Next

  • Get my Mac OS runner working correctly, and get iOS builds working
  • Look for ways to slim down the Android example above
  • Get reliable Android and iOS Fastlane examples in place
  • Find a few more test app - if you would like to help with testing, please add a comment to this issue
Edited by Darby Frey