1- # CI Configuration for AdaptyRecipes
1+ # CI Configuration for SDK Validation
22
33This folder contains the source-of-truth config for the CI workflow:
44
5- - Workflow: ` .github/workflows/ci-adaptyrecipes .yml `
5+ - Workflow: ` .github/workflows/sdk-validation .yml `
66- Config: ` .github/ci/ci-run-config.json `
77- Build/test log validator: ` scripts/ci/validate_demo_build.sh `
88
99## What Runs Automatically
1010
11- - ` pull_request ` (` opened ` , ` reopened ` , ` synchronize ` , ` ready_for_review ` ): full pipeline
11+ - ` pull_request ` (` opened ` , ` reopened ` , ` synchronize ` , ` ready_for_review ` ): default PR pipeline
1212 - SDK build matrix (` swift build ` for all library targets + iOS package build)
1313 - test app build matrix (` AdaptyRecipes-SwiftUI ` )
1414 - one-Xcode macOS SDK build
15- - one-Xcode CocoaPods lint
1615 - SDK tests matrix (` swift test ` )
1716- ` workflow_dispatch ` : manual run with per-step toggles and optional JSON overrides
17+ - ` pull_request ` note: CocoaPods lint is disabled for PR auto-runs (` lint_pods=false ` )
1818
1919Note: there is no automatic ` push ` trigger for this workflow.
2020
@@ -25,7 +25,7 @@ Note: there is no automatic `push` trigger for this workflow.
2525- ` build_sdk_targets ` (` bool ` ): default enable SDK matrix build + macOS SDK build
2626- ` build_test_app ` (` bool ` ): default enable test app matrix build
2727- ` run_tests ` (` bool ` ): default enable ` swift test ` matrix
28- - ` lint_pods ` (` bool ` ): default enable CocoaPods lint job
28+ - ` lint_pods ` (` bool ` ): default disable CocoaPods lint job (can be enabled in manual runs)
2929- ` build_errors_whitelist ` (` list ` ): allowlist for test app build failures only
3030- ` test_errors_whitelist ` (` list ` ): allowlist for ` swift test ` failures
3131- ` build_matrix ` (` list ` ): Xcode matrix for SDK/test-app jobs
@@ -57,7 +57,7 @@ Boolean defaults are duplicated in two places by design:
5757- Matrix jobs use ` setup-xcode ` for requested versions.
5858- If matrix entry is ` informational: true ` and Xcode is unavailable, that entry is skipped with warning.
5959- If matrix entry is ` informational: false ` and Xcode is unavailable, that entry fails.
60- - One-Xcode jobs (` SDK macOS build ` , ` CocoaPods lint ` ) fail when configured Xcode is unavailable.
60+ - One-Xcode jobs (` SDK macOS build ` , ` CocoaPods lint ` when enabled ) fail when configured Xcode is unavailable.
6161- Test app build does not patch placeholders with ` sed ` ; CI writes a dedicated ` AppConstants.swift ` with dummy values before ` xcodebuild ` .
6262
6363## Manual Run Inputs (` workflow_dispatch ` )
@@ -89,7 +89,7 @@ Validation rules:
8989
90901 . Open repository on GitHub.
91912 . Go to ` Actions ` .
92- 3 . Select workflow ` CI AdaptyRecipes ` .
92+ 3 . Select workflow ` SDK Validation ` .
93934 . Click ` Run workflow ` .
94945 . In ` Use workflow from ` , select the branch.
95956 . Configure boolean toggles:
@@ -123,13 +123,13 @@ Run from repository root with authenticated CLI (`gh auth status`).
123123- Run full workflow using defaults from config:
124124
125125``` bash
126- gh workflow run " CI AdaptyRecipes " --ref master
126+ gh workflow run " SDK Validation " --ref master
127127```
128128
129129- Run only SDK builds on one Xcode:
130130
131131``` bash
132- gh workflow run " CI AdaptyRecipes " --ref master \
132+ gh workflow run " SDK Validation " --ref master \
133133 -f build_sdk_targets=true \
134134 -f build_test_app=false \
135135 -f run_tests=false \
@@ -140,7 +140,7 @@ gh workflow run "CI AdaptyRecipes" --ref master \
140140- Run only test app build:
141141
142142``` bash
143- gh workflow run " CI AdaptyRecipes " --ref master \
143+ gh workflow run " SDK Validation " --ref master \
144144 -f build_sdk_targets=false \
145145 -f build_test_app=true \
146146 -f run_tests=false \
@@ -150,7 +150,7 @@ gh workflow run "CI AdaptyRecipes" --ref master \
150150- Run only tests:
151151
152152``` bash
153- gh workflow run " CI AdaptyRecipes " --ref master \
153+ gh workflow run " SDK Validation " --ref master \
154154 -f build_sdk_targets=false \
155155 -f build_test_app=false \
156156 -f run_tests=true \
@@ -160,7 +160,7 @@ gh workflow run "CI AdaptyRecipes" --ref master \
160160- Run tests with whitelist override:
161161
162162``` bash
163- gh workflow run " CI AdaptyRecipes " --ref master \
163+ gh workflow run " SDK Validation " --ref master \
164164 -f build_sdk_targets=false \
165165 -f build_test_app=false \
166166 -f run_tests=true \
@@ -171,7 +171,7 @@ gh workflow run "CI AdaptyRecipes" --ref master \
171171- Run test app build with whitelist override:
172172
173173``` bash
174- gh workflow run " CI AdaptyRecipes " --ref master \
174+ gh workflow run " SDK Validation " --ref master \
175175 -f build_sdk_targets=false \
176176 -f build_test_app=true \
177177 -f run_tests=false \
0 commit comments