Skip to content

Commit ec80461

Browse files
authored
Adding Logo and Windows Support (#100)
1 parent ae00fdc commit ec80461

File tree

8 files changed

+64
-7
lines changed

8 files changed

+64
-7
lines changed

.github/workflows/SyntaxKit.yml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
nightly: true
2424
steps:
2525
- uses: actions/checkout@v4
26-
- uses: brightdigit/swift-build@v1.2.1
26+
- uses: brightdigit/swift-build@v1.3.0
2727
- uses: sersoft-gmbh/swift-coverage-action@v4
2828
id: coverage-files
2929
with:
@@ -35,7 +35,35 @@ jobs:
3535
flags: swift-${{ matrix.swift-version }},ubuntu
3636
verbose: true
3737
token: ${{ secrets.CODECOV_TOKEN }}
38-
files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ',') }}
38+
files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ',') }}
39+
build-windows:
40+
name: Build on Windows
41+
runs-on: ${{ matrix.runs-on }}
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
runs-on: [windows-2022, windows-2025]
46+
include:
47+
- swift-version: swift-6.2-branch
48+
swift-build: 6.2-DEVELOPMENT-SNAPSHOT-2025-09-06-a
49+
- swift-version: swift-6.1-release
50+
swift-build: 6.1-RELEASE
51+
steps:
52+
- uses: actions/checkout@v4
53+
- uses: brightdigit/swift-build@v1.3.0
54+
with:
55+
windows-swift-version: ${{ matrix.swift-version }}
56+
windows-swift-build: ${{ matrix.swift-build }}
57+
- name: Upload coverage to Codecov
58+
uses: codecov/codecov-action@v5
59+
with:
60+
fail_ci_if_error: true
61+
flags: swift-${{ matrix.swift-version }},windows
62+
verbose: true
63+
token: ${{ secrets.CODECOV_TOKEN }}
64+
os: windows
65+
swift_project: SyntaxKit
66+
# files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ',') }}
3967
build-macos:
4068
name: Build on macOS
4169
env:
@@ -70,15 +98,15 @@ jobs:
7098
- type: ios
7199
runs-on: macos-15
72100
xcode: "/Applications/Xcode_26.0.app"
73-
deviceName: "iPhone 16 Pro"
101+
deviceName: "iPhone 17 Pro"
74102
osVersion: "26.0"
75103
download-platform: true
76104

77105
# watchOS Build Matrix
78106
- type: watchos
79107
runs-on: macos-15
80108
xcode: "/Applications/Xcode_26.0.app"
81-
deviceName: "Apple Watch Ultra 2 (49mm)"
109+
deviceName: "Apple Watch Ultra 3 (49mm)"
82110
osVersion: "26.0"
83111
download-platform: true
84112

@@ -102,7 +130,7 @@ jobs:
102130
- uses: actions/checkout@v4
103131

104132
- name: Build and Test
105-
uses: brightdigit/swift-build@v1.2.1
133+
uses: brightdigit/swift-build@v1.3.0
106134
with:
107135
scheme: ${{ env.PACKAGE_NAME }}-Package
108136
type: ${{ matrix.type }}
@@ -125,7 +153,7 @@ jobs:
125153
name: Linting
126154
if: "!contains(github.event.head_commit.message, 'ci skip')"
127155
runs-on: ubuntu-latest
128-
needs: [build-ubuntu, build-macos]
156+
needs: [build-ubuntu, build-macos, build-windows]
129157
env:
130158
MINT_PATH: .mint/lib
131159
MINT_LINK_PATH: .mint/bin
@@ -155,7 +183,7 @@ jobs:
155183
docs:
156184
name: Documentation Validation
157185
if: "!contains(github.event.head_commit.message, 'ci skip')"
158-
needs: [build-ubuntu, build-macos]
186+
needs: [build-ubuntu, build-macos, build-windows]
159187
runs-on: ubuntu-latest
160188
steps:
161189
- uses: actions/checkout@v4

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![SyntaxKit Logo](Sources/SyntaxKit/Documentation.docc/Resources/SyntaxKit_Logo.svg)
2+
13
# SyntaxKit
24

35
[![SwiftPM](https://img.shields.io/badge/SPM-Linux%20%7C%20iOS%20%7C%20macOS%20%7C%20watchOS%20%7C%20tvOS-success?logo=swift)](https://swift.org)

Sources/SyntaxKit/Documentation.docc/Documentation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
**Generate Swift code programmatically with declarative, type-safe syntax.**
44

5+
![SyntaxKit Logo](SyntaxKit_Logo)
6+
57
SyntaxKit transforms complex Swift code generation from tedious AST manipulation into intuitive, readable declarations. Built for scenarios where you need to create Swift code dynamically—macro development, API client generators, model transformers, and migration utilities—rather than writing code by hand once.
68

79
**When you're generating repetitive code structures, transforming external schemas into Swift types, or building developer tools that output Swift code, SyntaxKit provides the declarative approach you need.** Unlike manually constructing SwiftSyntax AST nodes, SyntaxKit uses result builders to make complex code generation maintainable and error-resistant.
7.78 KB
Loading
Binary file not shown.
Lines changed: 25 additions & 0 deletions
Loading
15.6 KB
Loading
24.6 KB
Loading

0 commit comments

Comments
 (0)