23
23
24
24
jobs :
25
25
swift_tests_latest :
26
- name : Latest Swift Version
26
+ name : Latest Swift
27
27
runs-on : macos-15
28
28
steps :
29
29
- uses : maxim-lobanov/setup-xcode@v1
@@ -40,55 +40,26 @@ jobs:
40
40
run : swift build
41
41
- name : Run tests
42
42
run : swift test
43
- swift_tests_previous :
44
- name : Swift Version ${{ matrix.swift }}
45
- strategy :
46
- matrix :
47
- os : [macos-13]
48
- swift : ["5.9", "5.8"]
49
- runs-on : ${{ matrix.os }}
43
+ swift_tests_latest :
44
+ name : Swift 5.10
45
+ runs-on : macos-14
50
46
steps :
51
- - uses : swift-actions/setup-swift@v1
52
- with :
53
- swift-version : ${{ matrix.swift }}
54
47
- uses : maxim-lobanov/setup-xcode@v1
55
48
with :
56
- xcode-version : " 14.3.1 "
49
+ xcode-version : " 15.0 "
57
50
- uses : actions/checkout@v3
58
51
- uses : actions/cache@v3
59
52
with :
60
53
path : .build
61
- key : ${{ matrix.os }}-${{ matrix.swift }} -spm-${{ hashFiles('**/Package.resolved') }}
54
+ key : macos-latest -spm-${{ hashFiles('**/Package.resolved') }}
62
55
restore-keys : |
63
- ${{ matrix.os }} -spm-
56
+ macos-latest -spm-
64
57
- name : Build
65
58
run : swift build
66
59
- name : Run tests
67
60
run : swift test
68
-
69
- ios_tests_latest :
70
- name : iOS Unit Tests - Latest Swift
71
- runs-on : macos-15
72
- steps :
73
- - uses : maxim-lobanov/setup-xcode@v1
74
- with :
75
- xcode-version : " 16.0"
76
- - uses : actions/checkout@v3
77
- - uses : actions/cache@v3
78
- with :
79
- path : .build
80
- key : macos-15-spm-${{ hashFiles('**/Package.resolved') }}
81
- restore-keys : |
82
- macos-15-spm-
83
-
84
- - name : Build
85
- run : xcodebuild build -scheme SyntaxSparrow -destination "OS=18.1,name=iPhone 16"
86
-
87
- - name : Test
88
- run : xcodebuild test -scheme SyntaxSparrow -destination "OS=18.1,name=iPhone 16" -enableCodeCoverage YES
89
-
90
- ios_tests_previous :
91
- name : iOS Unit Tests
61
+ swift_tests_previous :
62
+ name : Swift Version ${{ matrix.swift }}
92
63
strategy :
93
64
matrix :
94
65
os : [macos-13]
@@ -98,16 +69,17 @@ jobs:
98
69
- uses : swift-actions/setup-swift@v1
99
70
with :
100
71
swift-version : ${{ matrix.swift }}
72
+ - uses : maxim-lobanov/setup-xcode@v1
73
+ with :
74
+ xcode-version : " 14.3.1"
101
75
- uses : actions/checkout@v3
102
76
- uses : actions/cache@v3
103
77
with :
104
78
path : .build
105
79
key : ${{ matrix.os }}-${{ matrix.swift }}-spm-${{ hashFiles('**/Package.resolved') }}
106
80
restore-keys : |
107
81
${{ matrix.os }}-spm-
108
-
109
82
- name : Build
110
- run : xcodebuild build -scheme SyntaxSparrow -destination "OS=17.2,name=iPhone 13"
111
-
112
- - name : Test
113
- run : xcodebuild test-without-building -scheme SyntaxSparrow -destination "name=iPhone 13" -enableCodeCoverage YES
83
+ run : swift build
84
+ - name : Run tests
85
+ run : swift test
0 commit comments