Skip to content

Commit 7ff7e67

Browse files
authored
CI: enable multi-version builds on Windows (jpsim#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.
1 parent a207bf7 commit 7ff7e67

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/swiftpm.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,25 @@ jobs:
7373

7474
Windows:
7575
runs-on: windows-latest
76+
77+
strategy:
78+
matrix:
79+
include:
80+
- branch: swift-5.4.3-release
81+
tag: 5.4.3-RELEASE
82+
83+
- branch: swift-5.5.1-release
84+
tag: 5.5.1-RELEASE
85+
86+
- branch: development
87+
tag: DEVELOPMENT-SNAPSHOT-2021-06-12-a
88+
7689
steps:
7790
- uses: actions/checkout@v2
7891
- uses: compnerd/gha-setup-swift@main
7992
with:
80-
branch: swift-5.4.3-release
81-
tag: 5.4.3-RELEASE
93+
branch: ${{ matrix.branch }}
94+
tag: ${{ matrix.tag }}
8295
# Commands to run once connected via SSH:
8396
#
8497
# >d:

0 commit comments

Comments
 (0)