mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 04:15:48 -06:00
e27433c22e
* perf(ci): shard iOS screenshot capture * fix(ci): bind iOS screenshot shard evidence * fix(ci): preserve screenshot capture attempts * fix(ci): align screenshot shards with Xcode 26.6 * fix(ci): provision screenshot shard Fastlane * fix(ci): normalize Fastlane provenance version * fix(ci): select installed Fastlane version
39 lines
954 B
TypeScript
39 lines
954 B
TypeScript
export type IosScreenshotTooling = {
|
|
xcode: string;
|
|
fastlane: string;
|
|
node: string;
|
|
};
|
|
|
|
export type IosScreenshotProvenance = {
|
|
targetSha: string;
|
|
workflowSha: string;
|
|
runId: string;
|
|
runAttempt: string | number;
|
|
tooling: IosScreenshotTooling;
|
|
};
|
|
|
|
export type XcresultSummary = {
|
|
testResult: string;
|
|
failedTests: number;
|
|
};
|
|
|
|
export function collectIosScreenshotEvidence(options: {
|
|
family: string;
|
|
screenshotDirectory: string;
|
|
xcresultDirectory: string;
|
|
outputDirectory: string;
|
|
provenance: IosScreenshotProvenance;
|
|
readXcresultSummary?: (resultPath: string) => XcresultSummary;
|
|
}): Record<string, unknown>;
|
|
|
|
export function reduceIosScreenshotEvidence(options: {
|
|
inputDirectory: string;
|
|
outputRoot: string;
|
|
expectedProvenance: IosScreenshotProvenance;
|
|
}): Record<string, unknown>;
|
|
|
|
export function parseIosScreenshotEvidenceArgs(argv: string[]): {
|
|
command: string | undefined;
|
|
options: Record<string, string>;
|
|
};
|