Skip to content

Commit 3ee79d2

Browse files
committed
Run CI on Swift 6.1 in Linux too
1 parent 70fca1d commit 3ee79d2

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ jobs:
8686
run: sudo xcode-select --switch /Applications/Xcode_16.app/Contents/Developer
8787
- name: Build and Test Framework
8888
run: xcrun swift test -c release -Xswiftc -enable-testing
89-
linux:
90-
name: "Build and Test on Linux"
89+
linux-6.0:
90+
name: "Build and Test on Linux Swift 6.0"
9191
runs-on: ubuntu-24.04
9292
container: swift:6.0
9393
permissions:
@@ -103,6 +103,23 @@ jobs:
103103
- name: Upload Coverage Reports
104104
if: success()
105105
uses: codecov/codecov-action@v4
106+
linux-6.1:
107+
name: "Build and Test on Linux Swift 6.1"
108+
runs-on: ubuntu-24.04
109+
container: swift:6.1
110+
permissions:
111+
contents: read
112+
steps:
113+
- name: Checkout Repo
114+
uses: actions/checkout@v5
115+
- name: Build and Test Framework
116+
run: swift test -c release --enable-code-coverage -Xswiftc -enable-testing
117+
- name: Prepare Coverage Reports
118+
run: |
119+
llvm-cov export -format="lcov" .build/x86_64-unknown-linux-gnu/release/swift-async-queuePackageTests.xctest -instr-profile .build/x86_64-unknown-linux-gnu/release/codecov/default.profdata > coverage.lcov
120+
- name: Upload Coverage Reports
121+
if: success()
122+
uses: codecov/codecov-action@v4
106123
readme-validation:
107124
name: Check Markdown links
108125
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)