@@ -27,42 +27,42 @@ jobs:
27
27
Xcode :
28
28
strategy :
29
29
matrix :
30
- xcode_version : ['11.2 .1', '11.3.1 ', '11.4. 1', '11.5', '11.6', '12.0.1', '12 .1']
31
- runs-on : macOS-10.15
30
+ xcode_version : ['12.5 .1', '13.0 ', '13. 1', '13.2 .1']
31
+ runs-on : macos-11
32
32
env :
33
33
DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode_version }}.app
34
34
steps :
35
35
- uses : actions/checkout@v2
36
36
- run : swift -version
37
37
- run : YAMS_DEFAULT_ENCODING=UTF16 swift test --parallel
38
38
- run : YAMS_DEFAULT_ENCODING=UTF8 swift test --parallel
39
+ - name : Code Coverage
40
+ if : matrix.xcode_version == '13.2.1'
41
+ run : |
42
+ swift test --enable-code-coverage
43
+ xcrun llvm-cov export -format="lcov" .build/debug/YamsPackageTests.xctest/Contents/MacOS/YamsPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage.lcov
44
+ if [[ -n "${CODECOV_TOKEN}" ]]; then
45
+ bash <(curl -s https://codecov.io/bash) -f coverage.lcov
46
+ fi
47
+ env : { 'CODECOV_TOKEN': '${{ secrets.CODECOV_TOKEN }}' }
39
48
40
- Xcode_Big_Sur :
49
+ Xcode_Monterey :
41
50
strategy :
42
51
matrix :
43
- xcode_version : ['11.7', '12.4', '12.5. 1', '13.0', '13.1 ']
44
- runs-on : macos-11
52
+ xcode_version : ['13.3. 1', '13.4 ']
53
+ runs-on : macos-12
45
54
env :
46
55
DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode_version }}.app
47
56
steps :
48
57
- uses : actions/checkout@v2
49
58
- run : swift -version
50
59
- run : YAMS_DEFAULT_ENCODING=UTF16 swift test --parallel
51
60
- run : YAMS_DEFAULT_ENCODING=UTF8 swift test --parallel
52
- - name : Code Coverage
53
- if : matrix.xcode_version == '13.1'
54
- run : |
55
- swift test --enable-code-coverage
56
- xcrun llvm-cov export -format="lcov" .build/debug/YamsPackageTests.xctest/Contents/MacOS/YamsPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage.lcov
57
- if [[ -n "${CODECOV_TOKEN}" ]]; then
58
- bash <(curl -s https://codecov.io/bash) -f coverage.lcov
59
- fi
60
- env : { 'CODECOV_TOKEN': '${{ secrets.CODECOV_TOKEN }}' }
61
61
62
62
Linux :
63
63
strategy :
64
64
matrix :
65
- tag : ['5.1 ', '5.2', '5.3 ', '5.4', '5.5 ']
65
+ tag : ['5.4 ', '5.5 ', '5.6 ']
66
66
runs-on : ubuntu-latest
67
67
container :
68
68
image : swift:${{ matrix.tag }}
0 commit comments