Skip to content

Commit

Permalink
[ci] Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jun 10, 2021
1 parent f7a8f2a commit a099fd5
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,25 @@ concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
smoke:
lint:
runs-on: ubuntu-latest
steps:
- uses: harupy/[email protected]

linux:
name: linux
name: linux (${{ matrix.name }})
runs-on: ubuntu-latest
strategy:
matrix:
swift:
- 5.3
- 5.4-focal # Swift 5.4 requires llvm-cov v11
include:
- swift: swift:5.3
name: 5.3
- swift: swift:5.4
name: 5.3
- swift: swiftlang/swift:nightly-5.5
name: 5.5
container:
image: swift:${{ matrix.swift }}
image: ${{ matrix.swift }}
steps:
- uses: actions/checkout@v2
- run: swift test --enable-code-coverage --parallel --enable-test-discovery
Expand Down Expand Up @@ -55,6 +59,7 @@ jobs:
swift:
- 5.3
- 5.4
name: ${{ matrix.platform }} (${{ matrix.swift }})
steps:
- uses: actions/checkout@v2
- run: |
Expand All @@ -70,3 +75,11 @@ jobs:
warnings-as-errors: true
continue-on-error: ${{ matrix.swift == '5.4' }}
- uses: codecov/codecov-action@v1

windows:
runs-on: windows-latest
steps:
- uses: seanmiddleditch/gha-setup-vsdevenv@v3
- uses: mxcl/setup-swift@v1
- uses: actions/checkout@v2
- run: swift test --parallel

0 comments on commit a099fd5

Please sign in to comment.