CI: enable multi-version builds on Windows (#335)

With the use of compnerd/gha-setup-swift, it is relatively easy to enable a
matrix build on Windows, enabling building and testing against different Swift
verisons.  Use this to enable builds for 5.5 and 5.6-dev.
This commit is contained in:
Saleem Abdulrasool 2021-11-21 19:01:55 -08:00 committed by GitHub
parent a207bf7af2
commit 7ff7e67c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 2 deletions

View File

@ -73,12 +73,25 @@ jobs:
Windows:
runs-on: windows-latest
strategy:
matrix:
include:
- branch: swift-5.4.3-release
tag: 5.4.3-RELEASE
- branch: swift-5.5.1-release
tag: 5.5.1-RELEASE
- branch: development
tag: DEVELOPMENT-SNAPSHOT-2021-06-12-a
steps:
- uses: actions/checkout@v2
- uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.4.3-release
tag: 5.4.3-RELEASE
branch: ${{ matrix.branch }}
tag: ${{ matrix.tag }}
# Commands to run once connected via SSH:
#
# >d: