8
8
- " *"
9
9
jobs :
10
10
build :
11
- name : Build (${{ matrix.configuration[' platform'] }})
11
+ name : Build (${{ matrix.platform }})
12
12
runs-on : macos-13
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- configuration :
16
+ include :
17
17
- scheme : App
18
18
destination : generic/platform=iOS
19
19
platform : iOS
20
20
sdk-name : iphoneos
21
21
- scheme : App
22
- destination : platform=iOS Simulator,OS=17.0 ,name=iPhone 14 Pro
22
+ destination : platform=iOS Simulator,OS=17.2 ,name=iPhone 14 Pro
23
23
platform : iOS Simulator
24
24
sdk-name : iphonesimulator
25
25
xcode-unit-test : UnitTests
33
33
xcode-ui-test : UITests-macOS
34
34
gradle-test : macosX64Test
35
35
env :
36
- DEVELOPER_DIR : /Applications/Xcode_15.0 .app/Contents/Developer
36
+ DEVELOPER_DIR : /Applications/Xcode_15.2 .app/Contents/Developer
37
37
steps :
38
38
- name : Checkout
39
39
uses : actions/checkout@v3
@@ -60,44 +60,44 @@ jobs:
60
60
password : ${{ secrets.DEVELOPER_CERT_PASSWORD }}
61
61
- name : Build External Libraries
62
62
shell : bash
63
- run : External/build-darwin.sh ${{ matrix.configuration[' sdk-name'] }}
63
+ run : External/build-darwin.sh ${{ matrix.sdk-name }}
64
64
- name : Build
65
65
id : build
66
66
uses : ./.github/actions/build-for-testing
67
67
with :
68
- scheme : ${{ matrix.configuration[' scheme'] }}
69
- destination : ${{ matrix.configuration[' destination'] }}
68
+ scheme : ${{ matrix.scheme }}
69
+ destination : ${{ matrix.destination }}
70
70
app-store-key : ${{ secrets.APPSTORE_KEY }}
71
71
app-store-key-id : ${{ secrets.APPSTORE_KEY_ID }}
72
72
app-store-key-issuer-id : ${{ secrets.APPSTORE_KEY_ISSUER_ID }}
73
73
- name : Xcode Unit Test
74
- if : ${{ matrix.configuration[' xcode-unit-test'] != '' }}
74
+ if : ${{ matrix.xcode-unit-test != '' }}
75
75
continue-on-error : true
76
76
uses : ./.github/actions/test-without-building
77
77
with :
78
- scheme : ${{ matrix.configuration[' scheme'] }}
79
- destination : ${{ matrix.configuration[' destination'] }}
80
- test-plan : ${{ matrix.configuration[' xcode-unit-test'] }}
81
- artifact-prefix : unit-tests-${{ matrix.configuration[' sdk-name'] }}
82
- check-name : Xcode Unit Tests (${{ matrix.configuration[' platform'] }})
78
+ scheme : ${{ matrix.scheme }}
79
+ destination : ${{ matrix.destination }}
80
+ test-plan : ${{ matrix.xcode-unit-test }}
81
+ artifact-prefix : unit-tests-${{ matrix.sdk-name }}
82
+ check-name : Xcode Unit Tests (${{ matrix.platform }})
83
83
- name : Build Kotlin Tests
84
- if : ${{ matrix.configuration[' gradle-test'] != '' }}
84
+ if : ${{ matrix.gradle-test != '' }}
85
85
shell : bash
86
- run : ./gradlew :Shared:${{ matrix.configuration[' gradle-test'] }}Klibrary
86
+ run : ./gradlew :Shared:${{ matrix.gradle-test }}Klibrary
87
87
- name : Kotlin Unit Test
88
- if : ${{ matrix.configuration[' gradle-test'] != '' }}
88
+ if : ${{ matrix.gradle-test != '' }}
89
89
continue-on-error : true
90
90
uses : ./.github/actions/gradle-test
91
91
with :
92
- task : :Shared:${{ matrix.configuration[' gradle-test'] }}
93
- check-name : Kotlin Tests (${{ matrix.configuration[' platform'] }})
92
+ task : :Shared:${{ matrix.gradle-test }}
93
+ check-name : Kotlin Tests (${{ matrix.platform }})
94
94
- name : Xcode UI Test
95
- if : ${{ matrix.configuration[' xcode-ui-test'] != '' }}
95
+ if : ${{ matrix.xcode-ui-test != '' }}
96
96
continue-on-error : true
97
97
uses : ./.github/actions/test-without-building
98
98
with :
99
- scheme : ${{ matrix.configuration[' scheme'] }}
100
- destination : ${{ matrix.configuration[' destination'] }}
101
- test-plan : ${{ matrix.configuration[' xcode-ui-test'] }}
102
- artifact-prefix : ui-tests-${{ matrix.configuration[' sdk-name'] }}
103
- check-name : Xcode UI Tests (${{ matrix.configuration[' platform'] }})
99
+ scheme : ${{ matrix.scheme }}
100
+ destination : ${{ matrix.destination }}
101
+ test-plan : ${{ matrix.xcode-ui-test }}
102
+ artifact-prefix : ui-tests-${{ matrix.sdk-name }}
103
+ check-name : Xcode UI Tests (${{ matrix.platform }})
0 commit comments