File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -77,14 +77,25 @@ jobs:
7777 with :
7878 shell-action : carton test --environment node
7979
80- # windows:
81- # name: Windows
82- # runs-on: windows-latest
83- # steps:
84- # - uses: compnerd/gha-setup-swift@main
85- # with:
86- # branch: swift-5.7-release
87- # tag: 5.7.1-RELEASE
88- #
89- # - uses: actions/checkout@v3
90- # - run: swift test && swift build --configuration release
80+ windows :
81+ name : Windows
82+ strategy :
83+ matrix :
84+ os : [windows-latest]
85+ config : ['debug', 'release']
86+ runs-on : ${{ matrix.os }}
87+ steps :
88+ - uses : compnerd/gha-setup-swift@main
89+ with :
90+ branch : swift-5.8.1-release
91+ tag : 5.8.1-RELEASE
92+ - uses : actions/checkout@v3
93+ - name : Build All Configurations
94+ run : swift build -c ${{ matrix.config }}
95+ - name : Run tests (debug only)
96+ # There is an issue that exists in the 5.8.1 toolchain
97+ # which fails on release configuration testing, but
98+ # this issue is fixed 5.9 so we can remove the if once
99+ # that is generally available.
100+ if : ${{ matrix.config == 'debug' }}
101+ run : swift test
You can’t perform that action at this time.
0 commit comments