11name : CI
22on :
33 pull_request :
4+ <<<<<<< HEAD
45 schedule :
56 - cron : ' 3 3 * * 5' # 3:03 AM, every Friday
7+ =======
8+ >>>>>>> origin/master
69
710concurrency :
811 group : ${{ github.head_ref || 'push' }}
912 cancel-in-progress : true
1013
1114jobs :
15+ <<<<<<< HEAD
1216 verify-linuxmain :
1317 runs-on : macos-13
1418 steps :
1822
1923 apple :
2024 runs-on : macos-13
25+ =======
26+ # we want to test more macOS versions but GitHub make that difficult without
27+ # constant maintenance because runners are deprecated and removed
28+ apple :
29+ runs-on : macos-latest
30+ >>>>>>> origin/master
2131 strategy :
2232 matrix :
2333 platform :
@@ -26,16 +36,21 @@ jobs:
2636 - macOS
2737 - watchOS
2838 steps :
39+ <<<<<<< HEAD
2940 - uses : actions/checkout@v4
3041 - uses : mxcl/xcodebuild@v1
42+ =======
43+ - uses : actions/checkout@v6
44+ - uses : mxcl/xcodebuild@latest
45+ >>>>>>> origin/master
3146 with :
3247 platform : ${{ matrix.platform }}
3348 code-coverage : true
34- warnings-as-errors : true
35- - uses : codecov/codecov-action@v1
49+ - uses : codecov/codecov-action@v5
3650
3751 linux :
3852 runs-on : ubuntu-latest
53+ continue-on-error : true
3954 strategy :
4055 matrix :
4156 swift :
@@ -46,10 +61,26 @@ jobs:
4661 - swift:5.8
4762 - swift:5.9
4863 - swift:5.10
64+ <<<<<<< HEAD
4965 container :
5066 image : ${{ matrix.swift }}
5167 steps :
5268 - uses : actions/checkout@v4
69+ =======
70+ # - swift:6.0 strangely fails
71+ - swift:6.1
72+ - swift:6.2
73+ container :
74+ image : ${{ matrix.swift }}
75+ steps :
76+ - uses : actions/checkout@v1
77+
78+ - name : Get Swift version
79+ id : swift
80+ run : |
81+ ver=$(swift --version | head -1 | sed 's/.*Swift version \([0-9]*\).*/\1/')
82+ echo "marketing-version=$ver" >> $GITHUB_OUTPUT
83+ >>>>>>> origin/master
5384
5485 - run : useradd -ms /bin/bash mxcl
5586 - run : chown -R mxcl .
@@ -64,12 +95,12 @@ jobs:
6495 echo "Swift version: $version (marketing: $marketing_version)"
6596
6697 - run : echo ARGS=--enable-code-coverage >> $GITHUB_ENV
67- if : ${{ steps.swift.outputs.marketing-version > 5 }}
98+ if : ${{ steps.swift.outputs.marketing-version > 6.1 }}
6899
69100 - run : su mxcl -c "swift test --parallel $ARGS"
70101
71102 - name : Generate `.lcov`
72- if : ${{ steps.swift.outputs.marketing-version > 5 }}
103+ if : ${{ steps.swift.outputs.marketing-version > 6.1 }}
73104 run : |
74105 apt-get -qq update && apt-get -qq install curl
75106 b=$(swift build --show-bin-path)
81112 > info.lcov
82113
83114 - uses : codecov/codecov-action@v1
84- if : ${{ steps.swift.outputs.marketing-version > 5 }}
115+ if : ${{ steps.swift.outputs.marketing-version > 6.1 }}
85116 with :
86117 file : ./info.lcov
87118
0 commit comments