Skip to content

Commit c548fae

Browse files
committed
Update GitHub CI for Windows
1 parent 7a1acf8 commit c548fae

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/swift-windows.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Swift Windows
2+
on: [push]
3+
jobs:
4+
windows-build:
5+
name: Windows
6+
runs-on: windows-latest
7+
strategy:
8+
matrix:
9+
swift: ["6.1.2"]
10+
config: ["debug", "release"]
11+
steps:
12+
- uses: compnerd/gha-setup-swift@main
13+
with:
14+
branch: swift-${{ matrix.swift }}-release
15+
tag: ${{ matrix.swift }}-RELEASE
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Swift Version
19+
run: swift --version
20+
- name: Build
21+
run: swift build -c ${{ matrix.config }}

0 commit comments

Comments
 (0)