Skip to content

Commit

Permalink
fix: bring in windows matrix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
drmohundro committed Aug 23, 2024
1 parent 2568e74 commit 755147f
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,34 @@ jobs:
windows-test:
name: Windows Test
runs-on: windows-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- branch: swift-5.10-release
tag: 5.10-RELEASE
skip-testing: true

- branch: swift-6.0-branch
tag: 6.0-DEVELOPMENT-SNAPSHOT-2024-08-07-a
perform-testing: true

# TODO: figure out a good matrix pattern for this build, too
steps:
- name: Install Swift
uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.8-release
tag: 5.8-RELEASE
branch: ${{ matrix.branch}}
tag: ${{ matrix.tag }}

- name: Checkout
uses: actions/checkout@v4
- name: Build
if: ${{ matrix.skip-testing }}
run: |
swift build
- name: Build and test
run: swift test
if: ${{ matrix.perform-testing }}
run: |
swift build --build-tests
swift test

0 comments on commit 755147f

Please sign in to comment.