CI: Attempt to upgrade MSVC to fix their broken STL. #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests (Microsoft Windows) | |
on: [push] | |
jobs: | |
build: | |
name: Swift ${{ matrix.swift }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
swift: ["5.10"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: compnerd/gha-setup-swift@main | |
with: | |
branch: swift-5.10-release | |
tag: 5.10-RELEASE | |
- uses: actions/checkout@v4 | |
- name: 🔥 Upgrade MSVC for a working STL. | |
shell: pwsh | |
run: winget upgrade --all --accept-source-agreements --accept-package-agreements | |
- name: 🐙 Fetch Git Submodules | |
run: git submodule update --init --recursive | |
- name: 🧪 Test | |
run: swift test |