diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a918736..249c7b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -79,3 +79,25 @@ jobs: - uses: actions/checkout@v2 - name: Run tests run: swift test --enable-test-discovery + + windows_build: + strategy: + matrix: + swift: + - "5.5" + - "5.6" + + runs-on: windows-2019 + + steps: + - name: Set git to use LF + run: | + git config --global core.autocrlf false + git config --global core.eol lf + - uses: actions/checkout@v2 + - uses: MaxDesiatov/swift-windows-action@v1 + with: + shell-action: swift build + swift-version: ${{ matrix.swift }} + - name: Run tests + run: swift test --enable-test-discovery