Skip to content

Commit d903348

Browse files
authored
Restore and update Windows build workflow
Re-enable Windows build workflow with latest `main` development snapshots.
1 parent db4647e commit d903348

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -254,27 +254,27 @@ jobs:
254254
android-api-level: 30
255255
swift-version: "${{ matrix.swift-version }}"
256256

257-
# build-windows:
258-
# runs-on: windows-latest
259-
# steps:
260-
# - uses: compnerd/gha-setup-swift@main
261-
# with:
262-
# swift-version: swift-6.2-release
263-
# swift-build: 6.2-RELEASE
264-
# - uses: actions/checkout@v4
265-
# - run: python3 ./Vendor/checkout-dependency
266-
# # FIXME: CMake build is failing on CI due to "link: extra operand '/OUT:lib\\libXXXX.a'" error
267-
# # # Check Windows build with CMake
268-
# # - uses: Cyberboss/install-winget@v1
269-
# # - run: winget install Ninja-build.Ninja Kitware.CMake --disable-interactivity --accept-source-agreements
270-
# # - run: |
271-
# # echo "$env:LOCALAPPDATA\Microsoft\WinGet\Links" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
272-
# # echo "$env:ProgramFiles\CMake\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
273-
# # - run: cmake -G Ninja -B .build/cmake
274-
# # - run: cmake --build .build/cmake
275-
# # Run tests with SwiftPM
276-
# - name: Run tests with SwiftPM
277-
# run: swift test
257+
build-windows:
258+
runs-on: windows-latest
259+
steps:
260+
- uses: compnerd/gha-setup-swift@main
261+
with:
262+
swift-version: development
263+
swift-build: swift-DEVELOPMENT-SNAPSHOT-2025-12-01-a
264+
- uses: actions/checkout@v4
265+
- run: python3 ./Vendor/checkout-dependency
266+
# FIXME: CMake build is failing on CI due to "link: extra operand '/OUT:lib\\libXXXX.a'" error
267+
# # Check Windows build with CMake
268+
# - uses: Cyberboss/install-winget@v1
269+
# - run: winget install Ninja-build.Ninja Kitware.CMake --disable-interactivity --accept-source-agreements
270+
# - run: |
271+
# echo "$env:LOCALAPPDATA\Microsoft\WinGet\Links" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
272+
# echo "$env:ProgramFiles\CMake\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
273+
# - run: cmake -G Ninja -B .build/cmake
274+
# - run: cmake --build .build/cmake
275+
# Run tests with SwiftPM
276+
- name: Run tests with SwiftPM
277+
run: swift test
278278

279279
build-cmake:
280280
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)