iOS-Fastlane.gitlab-ci.yml 1.03 KB
Newer Older
1 2
# This is a very simple template that mainly relies on FastLane to build and distribute your app.
# Read more about how to use this template on the blog post https://about.gitlab.com/2019/03/06/ios-publishing-with-gitlab-and-fastlane/
Will Hall's avatar
Will Hall committed
3
# You will also need fastlane and signing configuration for this to work, along with a MacOS runner.
4 5 6 7 8
# These details are provided in the blog post.

# Note that when you're using the shell executor for MacOS builds, the
# build and tests run as the identity of the runner logged in user, directly on
# the build host. This is less secure than using container executors, so please
Will Hall's avatar
Will Hall committed
9 10
# take a look at our security implications documentation at
# https://docs.gitlab.com/runner/security/#usage-of-shell-executor for additional
11 12 13 14
# detail on what to keep in mind in this scenario.

stages:
  - build
15 16
  - test
  - deploy
17 18 19 20 21

variables:
  LC_ALL: "en_US.UTF-8"
  LANG: "en_US.UTF-8"
  GIT_STRATEGY: clone
Matija Čupić's avatar
Matija Čupić committed
22

23 24 25 26 27 28 29
build:
  stage: build
  script:
    - bundle install
    - bundle exec fastlane build
  artifacts:
    paths:
Will Hall's avatar
Will Hall committed
30
      - ./*.ipa