Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 16, 2025
1 parent d17e3aa commit a12a973
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ jobs:
strategy:
matrix:
swift:
- '4.0'
- '4.1'
- '4.2'
- 4.0
- 4.1
- 4.2
container:
image: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
- uses: actions/setup-node@v2
with:
swift-version: ${{ matrix.swift }}
node-version: 18
- uses: actions/checkout@v3
- run: swift build -Xswiftc -warnings-as-errors -Xswiftc -swift-version -Xswiftc 3
- run: swift build # generated linuxmain requires Swift 5 sadly

Expand All @@ -44,11 +46,13 @@ jobs:
- '5.4'
- '5.5'
- '5.6'
container:
image: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
- uses: actions/setup-node@v2
with:
swift-version: ${{ matrix.swift }}
node-version: 18
- uses: actions/checkout@v3
- run: swift build -Xswiftc -warnings-as-errors -Xswiftc -swift-version -Xswiftc 4
- run: swift build -Xswiftc -warnings-as-errors -Xswiftc -swift-version -Xswiftc 4.2
- run: swift test --enable-code-coverage --parallel
Expand All @@ -69,13 +73,10 @@ jobs:
file: ./info.lcov

verify-linuxmain:
runs-on: ubuntu-latest
runs-on: macos-latest
name: linux (validate manifests)
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: 5
- run: swift test --generate-linuxmain
- run: git diff --exit-code

Expand Down

0 comments on commit a12a973

Please sign in to comment.