Skip to content

Commit 6fcdb45

Browse files
committed
Fix Windows CI
1 parent e876472 commit 6fcdb45

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- windows-ci-fix
78
pull_request:
89
branches:
910
- '*'
@@ -112,28 +113,28 @@ jobs:
112113
- name: Build
113114
run: swift build --target IssueReporting --swift-sdk wasm32-unknown-wasi -Xlinker -z -Xlinker stack-size=$((1024 * 1024))
114115

115-
# windows:
116-
# name: Windows
117-
# strategy:
118-
# matrix:
119-
# os: [windows-latest]
120-
# config:
121-
# - debug
122-
# - release
123-
# fail-fast: false
124-
# runs-on: ${{ matrix.os }}
125-
# steps:
126-
# - uses: compnerd/gha-setup-swift@main
127-
# with:
128-
# branch: swift-6.0.3-release
129-
# tag: 6.0.3-RELEASE
130-
# - name: Set long paths
131-
# run: git config --system core.longpaths true
132-
# - uses: actions/checkout@v4
133-
# - name: Build
134-
# run: swift build -c ${{ matrix.config }}
135-
# - name: Run tests (debug only)
136-
# run: swift test
116+
windows:
117+
name: Windows
118+
strategy:
119+
matrix:
120+
os: [windows-latest]
121+
config:
122+
- debug
123+
- release
124+
fail-fast: false
125+
runs-on: ${{ matrix.os }}
126+
steps:
127+
- uses: compnerd/gha-setup-swift@main
128+
with:
129+
branch: swift-6.0.3-release
130+
tag: 6.0.3-RELEASE
131+
- name: Set long paths
132+
run: git config --system core.longpaths true
133+
- uses: actions/checkout@v4
134+
- name: Build
135+
run: swift build -c ${{ matrix.config }}
136+
- name: Run tests (debug only)
137+
run: swift test -windows-sdk-version 10.0.26100.0
137138

138139
android:
139140
name: Android

0 commit comments

Comments
 (0)