File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,15 @@ jobs:
11
11
runs-on : macos-latest
12
12
strategy :
13
13
matrix :
14
- xcode : [
15
- ' /Applications/Xcode_12.5.1.app/Contents/Developer' ,
16
- ' /Applications/Xcode_13.0.app/Contents/Developer' ,
17
- ]
14
+ xcode : ['12.5.1', '13.0']
18
15
19
16
steps :
20
17
- uses : actions/checkout@v2
21
-
18
+ - uses : maxim-lobanov/setup-xcode@v1
19
+ with :
20
+ xcode-version : ${{ matrix.xcode }}
22
21
- name : Test on iOS Simulator
23
- env :
24
- DEVELOPER_DIR : ${{ matrix.xcode }}
22
+
25
23
run : >
26
24
xcodebuild test
27
25
-scheme RSocket-Package
32
30
-destination:'platform=iOS Simulator,name=iPhone 12'
33
31
34
32
- name : Test on macOS
35
- env :
36
- DEVELOPER_DIR : ${{ matrix.xcode }}
37
33
run : >
38
34
xcodebuild test
39
35
-scheme RSocket-Package
@@ -46,13 +42,13 @@ jobs:
46
42
runs-on : macos-latest
47
43
strategy :
48
44
matrix :
49
- xcode : [
50
- ' /Applications/Xcode_12.5.1.app/Contents/Developer' ,
51
- ' /Applications/Xcode_13.0.app/Contents/Developer' ,
52
- ]
45
+ xcode : ['12.5.1', '13.0']
53
46
54
47
steps :
55
48
- uses : actions/checkout@v2
49
+ - uses : maxim-lobanov/setup-xcode@v1
50
+ with :
51
+ xcode-version : ${{ matrix.xcode }}
56
52
- name : Build & Run Performance Tests on macOS
57
53
env :
58
54
DEVELOPER_DIR : ${{ matrix.xcode }}
You can’t perform that action at this time.
0 commit comments