Skip to content

Commit 3efbfba

Browse files
authored
Turn Windows CI back on (#99)
* Turn Windows CI back on * Only test debug
1 parent c2012e1 commit 3efbfba

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

.github/workflows/ci.yml

+22-11
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,25 @@ jobs:
7777
with:
7878
shell-action: carton test --environment node
7979

80-
#windows:
81-
# name: Windows
82-
# runs-on: windows-latest
83-
# steps:
84-
# - uses: compnerd/gha-setup-swift@main
85-
# with:
86-
# branch: swift-5.7-release
87-
# tag: 5.7.1-RELEASE
88-
#
89-
# - uses: actions/checkout@v3
90-
# - run: swift test && swift build --configuration release
80+
windows:
81+
name: Windows
82+
strategy:
83+
matrix:
84+
os: [windows-latest]
85+
config: ['debug', 'release']
86+
runs-on: ${{ matrix.os }}
87+
steps:
88+
- uses: compnerd/gha-setup-swift@main
89+
with:
90+
branch: swift-5.8.1-release
91+
tag: 5.8.1-RELEASE
92+
- uses: actions/checkout@v3
93+
- name: Build All Configurations
94+
run: swift build -c ${{ matrix.config }}
95+
- name: Run tests (debug only)
96+
# There is an issue that exists in the 5.8.1 toolchain
97+
# which fails on release configuration testing, but
98+
# this issue is fixed 5.9 so we can remove the if once
99+
# that is generally available.
100+
if: ${{ matrix.config == 'debug' }}
101+
run: swift test

0 commit comments

Comments
 (0)