Add content validation and watchOS build to CI workflow
Seto Elkahfi committed
May 15, 2026 at 13:31 UTC
86c4c76d80546a3f25fe99c8648482ad13da6e87
1 file changed
+36
.github/workflows/ci.yml
+36
@@ -8,6 +8,17 @@ on:
8
- feature/**
9
10
jobs:
11
+ content-validation:
12
+ name: Validate bundled content
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v6
18
+
19
+ - name: Validate bundled content
20
+ run: python3 Scripts/validate_content.py
21
+
22
snapshot-tests:
23
name: Snapshot tests
24
runs-on: macos-26
@@ -108,3 +119,28 @@ jobs:
119
-scheme 'Klepon Vision' \
120
-destination 'generic/platform=visionOS Simulator' \
121
CODE_SIGNING_ALLOWED=NO
122
+
123
+ watchos-build:
124
+ name: watchOS app build
125
+ runs-on: macos-26
126
+
127
+ steps:
128
+ - name: Checkout
129
+ uses: actions/checkout@v6
130
+
131
+ - name: Install XcodeGen
132
+ run: brew install xcodegen
133
+
134
+ - name: Generate project
135
+ run: xcodegen generate
136
+
137
+ - name: Resolve Swift packages
138
+ run: xcodebuild -project Klepon.xcodeproj -scheme 'Klepon Watch' -resolvePackageDependencies
139
+
140
+ - name: Build watchOS app
141
+ run: |
142
+ xcodebuild build \
143
+ -project Klepon.xcodeproj \
144
+ -scheme 'Klepon Watch' \
145
+ -destination 'generic/platform=watchOS Simulator' \
146
+ CODE_SIGNING_ALLOWED=NO