Skip to content

Commit

Permalink
Turn Windows CI back on (#99)
Browse files Browse the repository at this point in the history
* Turn Windows CI back on

* Only test debug
  • Loading branch information
brianmichel authored Sep 11, 2023
1 parent c2012e1 commit 3efbfba
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,25 @@ jobs:
with:
shell-action: carton test --environment node

#windows:
# name: Windows
# runs-on: windows-latest
# steps:
# - uses: compnerd/gha-setup-swift@main
# with:
# branch: swift-5.7-release
# tag: 5.7.1-RELEASE
#
# - uses: actions/checkout@v3
# - run: swift test && swift build --configuration release
windows:
name: Windows
strategy:
matrix:
os: [windows-latest]
config: ['debug', 'release']
runs-on: ${{ matrix.os }}
steps:
- uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.8.1-release
tag: 5.8.1-RELEASE
- uses: actions/checkout@v3
- name: Build All Configurations
run: swift build -c ${{ matrix.config }}
- name: Run tests (debug only)
# There is an issue that exists in the 5.8.1 toolchain
# which fails on release configuration testing, but
# this issue is fixed 5.9 so we can remove the if once
# that is generally available.
if: ${{ matrix.config == 'debug' }}
run: swift test

0 comments on commit 3efbfba

Please sign in to comment.