Skip to content

Commit defa146

Browse files
Bump Swift and Windows versions in Windows CI (#147)
* enable swift build since swiftlang/swift-package-manager#6644 is fixed * update compnerd/gha-setup-swift to v0.3.0 * use latest Windows and Swift 6.1 There are now fixes to compnerd/swift-build#909 and swiftlang/swift#79751, swiftlang/swift#80144 is merged. * enable building WinUIBackend * specify which target to build to avoid missing Gtk
1 parent 9c5c862 commit defa146

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/swift-windows.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ defaults:
1515

1616
jobs:
1717
build-windows:
18-
runs-on: windows-2019 # Windows SDK lower than 10.0.26100 is needed until https://github.com/swiftlang/swift/pull/79751 released!
18+
runs-on: windows-latest
1919

2020
steps:
2121
- name: Setup VS Dev Environment
2222
uses: seanmiddleditch/gha-setup-vsdevenv@v5
2323

2424
- name: Setup
25-
uses: compnerd/gha-setup-swift@v0.2.3
25+
uses: compnerd/gha-setup-swift@v0.3.0
2626
with:
27-
branch: swift-5.10-release
28-
tag: 5.10-RELEASE
27+
branch: swift-6.1-release
28+
tag: 6.1-RELEASE
2929

3030
- name: Compute vcpkg Triplet
3131
id: triplet
@@ -58,8 +58,6 @@ jobs:
5858
- name: Build SwiftCrossUI
5959
env:
6060
PKG_CONFIG_PATH: ${{ github.workspace }}/vcpkg_installed/${{ steps.triplet.outputs.lowercase }}/lib/pkgconfig
61-
# Only build the library target to work around apple/swift-package-manager#6644
6261
run: swift build --target SwiftCrossUI -v
63-
# Requires 6.0, and 6.0 is broken in CI for now.
64-
# - name: Build WinUIBackend
65-
# run: swift build --target WinUIBackend
62+
- name: Build WinUIBackend
63+
run: swift build --target WinUIBackend

0 commit comments

Comments
 (0)