-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodemagic.yaml
37 lines (35 loc) · 881 Bytes
/
codemagic.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
workflows:
pr-check:
name: PR Check
triggering:
events:
- pull_request
cancel_previous_builds: true
when:
condition: not event.pull_request.draft
max_build_duration: 45
environment:
groups:
- ios-shared-secrets
- marvel-secrets
scripts:
- &project_setup
name: Project Setup
script: |
gem install bundler
bundle install
- name: Test
script: bundle exec fastlane ios pr_check --env alpha_snapshot
nightly-snapshot:
name: Nightly Snapshot from develop
max_build_duration: 45
environment:
groups:
- certificates
- appcenter
- fueled-shared-secrets
- marvel-secrets
scripts:
- *project_setup
- name: Run Fastlane
script: bundle exec fastlane ios app_center --env alpha_snapshot