2019-07-07 11:18:12 +05:30
|
|
|
# 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/
|
2019-09-04 21:01:54 +05:30
|
|
|
# You will also need fastlane and signing configuration for this to work, along with a MacOS runner.
|
2019-07-07 11:18:12 +05:30
|
|
|
# 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
|
2019-09-04 21:01:54 +05:30
|
|
|
# take a look at our security implications documentation at
|
|
|
|
# https://docs.gitlab.com/runner/security/#usage-of-shell-executor for additional
|
2019-07-07 11:18:12 +05:30
|
|
|
# detail on what to keep in mind in this scenario.
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
2019-07-31 22:56:46 +05:30
|
|
|
- test
|
|
|
|
- deploy
|
2019-07-07 11:18:12 +05:30
|
|
|
|
|
|
|
variables:
|
|
|
|
LC_ALL: "en_US.UTF-8"
|
|
|
|
LANG: "en_US.UTF-8"
|
|
|
|
GIT_STRATEGY: clone
|
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- bundle install
|
|
|
|
- bundle exec fastlane build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-09-04 21:01:54 +05:30
|
|
|
- ./*.ipa
|