Skip to content

Use a sparse checkout of the macOS SDKs - #1205

Merged
jjhelmus merged 1 commit into
mainfrom
jjh/macos_sdk_sparse_checkout
Aug 5, 2026
Merged

Use a sparse checkout of the macOS SDKs#1205
jjhelmus merged 1 commit into
mainfrom
jjh/macos_sdk_sparse_checkout

Conversation

@jjhelmus

@jjhelmus jjhelmus commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Use a sparse checkout of only the files needed during validations to speed up the checkout of the macOS SDKs repository.

A full check out typically takes between 2-3 minutes although occasionally the checkout can take much longer.

Use a sparse checkout of only the files needed during validations to
speep up the checkout of the macOS SDKs repository.
@jjhelmus jjhelmus added the platform:darwin Specific to the macOS platform label Aug 4, 2026
@jjhelmus

jjhelmus commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Another method to speed up this step is to perform the checkout (sparse or full) once and cache the result for use in each job. Will look into this tomorrow.

@jjhelmus

jjhelmus commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

A median time for the SDK checkout of 2m10s from the merge of #1202 to 11s for the first job here.
If this takes <20 seconds it is likely not worth caching the results.

@jjhelmus
jjhelmus requested a review from zanieb August 4, 2026 23:26
@jjhelmus
jjhelmus merged commit cd9bead into main Aug 5, 2026
16 checks passed
@jjhelmus
jjhelmus deleted the jjh/macos_sdk_sparse_checkout branch August 5, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform:darwin Specific to the macOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant