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 6223151
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 @@ -108,14 +108,33 @@ jobs:
name: Windows Test
runs-on: windows-latest

# TODO: figure out a good matrix pattern for this build, too
strategy:
fail-fast: false
matrix:
include:
- branch: swift-5.10-release
tag: 5.10-RELEASE
skip-testing: true

- branch: swift-development
tag: 6.0-DEVELOPMENT-SNAPSHOT-2024-05-14-a
perform-testing: true

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 6223151

Please sign in to comment.