2323
2424jobs :
2525 swift_tests_latest :
26- name : Latest Swift Version
26+ name : Latest Swift
2727 runs-on : macos-15
2828 steps :
2929 - uses : maxim-lobanov/setup-xcode@v1
@@ -41,54 +41,25 @@ jobs:
4141 - name : Run tests
4242 run : swift test
4343 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 }}
44+ name : Swift 5.10
45+ runs-on : macos-14
5046 steps :
51- - uses : swift-actions/setup-swift@v1
52- with :
53- swift-version : ${{ matrix.swift }}
5447 - uses : maxim-lobanov/setup-xcode@v1
5548 with :
56- xcode-version : " 14.3.1 "
49+ xcode-version : " 15.0 "
5750 - uses : actions/checkout@v3
5851 - uses : actions/cache@v3
5952 with :
6053 path : .build
61- key : ${{ matrix.os }}-${{ matrix. swift }} -spm-${{ hashFiles('**/Package.resolved') }}
54+ key : macos-14- swift-510 -spm-${{ hashFiles('**/Package.resolved') }}
6255 restore-keys : |
63- ${{ matrix.os }} -spm-
56+ macos-14-swift-510 -spm-
6457 - name : Build
6558 run : swift build
6659 - name : Run tests
6760 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_legacy :
62+ name : Swift ${{ matrix.swift }}
9263 strategy :
9364 matrix :
9465 os : [macos-13]
@@ -98,16 +69,17 @@ jobs:
9869 - uses : swift-actions/setup-swift@v1
9970 with :
10071 swift-version : ${{ matrix.swift }}
72+ - uses : maxim-lobanov/setup-xcode@v1
73+ with :
74+ xcode-version : " 14.3.1"
10175 - uses : actions/checkout@v3
10276 - uses : actions/cache@v3
10377 with :
10478 path : .build
10579 key : ${{ matrix.os }}-${{ matrix.swift }}-spm-${{ hashFiles('**/Package.resolved') }}
10680 restore-keys : |
10781 ${{ matrix.os }}-spm-
108-
10982 - 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