@@ -14,20 +14,31 @@ concurrency:
1414
1515jobs :
1616 build :
17- name : MacOS
18- runs-on : macOS-latest
17+ name : macOS
18+ runs-on : macos-14
1919 steps :
2020 - uses : actions/checkout@v4
21+ - name : Select Xcode
22+ run : sudo xcode-select -s /Applications/Xcode_15.4.app
2123 - name : Run tests
2224 run : make test
2325
24- ubuntu :
25- name : Ubuntu
26+ linux :
27+ strategy :
28+ matrix :
29+ swift :
30+ - ' 5.10'
31+ name : Ubuntu (Swift ${{ matrix.swift }})
2632 runs-on : ubuntu-latest
33+ container : swift:${{ matrix.swift }}
2734 steps :
28- - uses : actions/checkout@v4
29- - name : Run tests
30- run : make test-linux
35+ - uses : actions/checkout@v4
36+ - name : Install dependencies
37+ run : apt-get update && apt-get install -y build-essential libcurl4-openssl-dev
38+ - name : Run tests
39+ run : make test
40+ - name : Build for static-stdlib
41+ run : make build-for-static-stdlib
3142
3243 wasm :
3344 name : Wasm
@@ -54,31 +65,10 @@ jobs:
5465 steps :
5566 - uses : compnerd/gha-setup-swift@main
5667 with :
57- branch : swift-5.8.1 -release
58- tag : 5.8.1 -RELEASE
68+ branch : swift-5.10 -release
69+ tag : 5.10 -RELEASE
5970 - uses : actions/checkout@v4
6071 - name : Build
6172 run : swift build -c ${{ matrix.config }}
6273 - name : Run tests (debug only)
63- # There is an issue that exists in the 5.8.1 toolchain
64- # which fails on release configuration testing, but
65- # this issue is fixed 5.9 so we can remove the if once
66- # that is generally available.
67- if : ${{ matrix.config == 'debug' }}
6874 run : swift test
69-
70- static-stdlib :
71- name : Static standard library
72- strategy :
73- matrix :
74- os : [ubuntu-20.04]
75- runs-on : ${{ matrix.os }}
76- steps :
77- - uses : swift-actions/setup-swift@v1
78- with :
79- swift-version : ' 5.8.0'
80- - name : Install dependencies
81- run : sudo apt-get install -y libcurl4-openssl-dev
82- - uses : actions/checkout@v4
83- - name : Build for static-stdlib
84- run : make build-for-static-stdlib
0 commit comments