Skip to content

Commit 2e1b4ea

Browse files
committed
Update CI
1 parent 82263e3 commit 2e1b4ea

File tree

1 file changed

+15
-30
lines changed

1 file changed

+15
-30
lines changed

.github/workflows/test.yml

+15-30
Original file line numberDiff line numberDiff line change
@@ -12,55 +12,40 @@ jobs:
1212
matrix:
1313
xcode:
1414
- latest
15-
- latest-stable
15+
#- latest-stable
1616
destination:
1717
- 'platform=macOS,arch=x86_64'
1818
#- 'platform=macOS,arch=arm64'
19-
- 'platform=iOS Simulator,OS=latest,name=iPhone 11 Pro'
19+
- 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
2020
- '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
2323
steps:
2424
- name: Select latest available Xcode
2525
uses: maxim-lobanov/setup-xcode@v1
2626
with:
2727
xcode-version: ${{ matrix.xcode }}
2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
3030
- 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 }}'
3235
3336
linux:
3437
runs-on: ubuntu-latest
3538
strategy:
3639
fail-fast: false
3740
matrix:
3841
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
4745
container:
48-
image: ${{ matrix.ver }}-${{ matrix.os }}
46+
image: ${{ matrix.ver }}
4947
steps:
5048
- name: Checkout
51-
uses: actions/checkout@v2
49+
uses: actions/checkout@v4
5250
- 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

Comments
 (0)