forked from priitlatt/capybara
-
Notifications
You must be signed in to change notification settings - Fork 2
/
codemagic.yaml
82 lines (82 loc) · 2.13 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
workflows:
build-ios:
name: Build iOS
instance_type: mac_mini_m1
environment:
xcode: latest
scripts:
- ifconfig | grep 10 | grep inet
- flutter packages pub get
- find . -name "Podfile" -execdir pod install \;
- flutter build ios --release --build-name=1.0.$BUILD_NUMBER --build-number=$BUILD_NUMBER --no-codesign
artifacts:
- /tmp/xcodebuild_logs/*.log
deprecated-xcode:
name: Deprecated Xcode
labels:
- ${{ inputs.xcode_version }}
- test
instance_type: mac_mini_m1
inputs:
xcode_version:
description: Xcode version
default: latest
environment:
xcode: ${{ inputs.xcode_version }}
scripts:
- ifconfig | grep 10 | grep inet
- flutter packages pub get
- find . -name "Podfile" -execdir pod install \;
- flutter build ios --release --build-name=1.0.$BUILD_NUMBER --build-number=$BUILD_NUMBER --no-codesign
artifacts:
- /tmp/xcodebuild_logs/*.log
empty:
name: Test workflow
labels:
- QA
- flavor1
environment:
xcode: latest
scripts:
- echo "empty"
greetings:
inputs:
name:
description: Who is greeted?
default: Codemagic
name_no_default:
description: Who is greeted? No default.
random_number:
description: random number
type: number
scripts:
- echo "Hello, ${{ inputs.name }}"
- echo "Hello, ${{ inputs.name_no_default }}"
- echo "Hello, ${{ inputs.random_number }}"
greetings2:
labels:
- ${{ inputs.name }}
- test
inputs:
name:
description: Who is greeted?
default: Codemagic
name_no_default:
description: Who is greeted? No default.
random_number:
description: random number
type: number
scripts:
- export
- echo "Hello, ${{ inputs.name }}"
- echo "Hello, ${{ inputs.name_no_default }}"
- echo "Hello, ${{ inputs.random_number }}"
vars:
environment:
xcode: latest
groups:
- test var
scripts:
- echo $my_test
- echo $my_test2
- echo $test_var