@@ -12,55 +12,40 @@ jobs:
12
12
matrix :
13
13
xcode :
14
14
- latest
15
- - latest-stable
15
+ # - latest-stable
16
16
destination :
17
17
- ' platform=macOS,arch=x86_64'
18
18
# - 'platform=macOS,arch=arm64'
19
- - ' platform=iOS Simulator,OS=latest,name=iPhone 11 Pro'
19
+ - ' platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
20
20
- ' platform=tvOS Simulator,OS=latest,name=Apple TV 4K'
21
- - ' platform=watchOS Simulator,OS=latest,name=Apple Watch Series 6 - 44mm '
22
- runs-on : macos-11.0
21
+ - ' platform=watchOS Simulator,OS=latest,name=Apple Watch Series 9 - 45mm '
22
+ runs-on : macos-13
23
23
steps :
24
24
- name : Select latest available Xcode
25
25
uses : maxim-lobanov/setup-xcode@v1
26
26
with :
27
27
xcode-version : ${{ matrix.xcode }}
28
28
- name : Checkout
29
- uses : actions/checkout@v2
29
+ uses : actions/checkout@v4
30
30
- name : Run tests for ${{ matrix.destination }}
31
- run : xcodebuild test -scheme StructuredAPIClient-Package -enableThreadSanitizer YES -destination '${{ matrix.destination }}'
31
+ run : |
32
+ xcodebuild test -scheme StructuredAPIClient-Package \
33
+ -enableThreadSanitizer YES \
34
+ -destination '${{ matrix.destination }}'
32
35
33
36
linux :
34
37
runs-on : ubuntu-latest
35
38
strategy :
36
39
fail-fast : false
37
40
matrix :
38
41
ver :
39
- - swift:5.3
40
- - swift:5.4
41
- - swift:5.5
42
- - swiftlang/swift:nightly-main
43
- os :
44
- - bionic
45
- - focal
46
- - amazonlinux2
42
+ - swift:5.9-jammy
43
+ - swiftlang/swift:nightly-5.10-jammy
44
+ - swiftlang/swift:nightly-main-jammy
47
45
container :
48
- image : ${{ matrix.ver }}-${{ matrix.os }}
46
+ image : ${{ matrix.ver }}
49
47
steps :
50
48
- name : Checkout
51
- uses : actions/checkout@v2
49
+ uses : actions/checkout@v4
52
50
- name : Run tests for ${{ matrix.runner }}
53
- run : swift test --enable-test-discovery --sanitize=thread
54
-
55
- windows :
56
- runs-on : windows-latest
57
- steps :
58
- - name : Install Swift toolchain
59
- uses : compnerd/gha-setup-swift@main
60
- with :
61
- branch : swift-5.5-release
62
- tag : 5.5-RELEASE
63
- - name : Checkout
64
- uses : actions/checkout@v2
65
- - name : Run tests
66
- run : swift test
51
+ run : swift test --sanitize=thread
0 commit comments