Skip to content

Add caching for KLayout microbits in Azure Pipelines#2372

Open
nikosavola wants to merge 1 commit into
KLayout:masterfrom
nikosavola:nikosavola/push-nopxwmtwsyly
Open

Add caching for KLayout microbits in Azure Pipelines#2372
nikosavola wants to merge 1 commit into
KLayout:masterfrom
nikosavola:nikosavola/push-nopxwmtwsyly

Conversation

@nikosavola
Copy link
Copy Markdown
Contributor

This PR introduces caching for the klayout-microbits in the Windows build pipeline.

Changes

  • Added Cache@2 task in azure-pipelines.yml to cache the extracted klayout-microbits directory under $(Build.SourcesDirectory).
  • Adjusted the PowerShell script to conditionally download and expand klayout-microbits-4.0.zip only on cache misses, restoring directly from the Azure Pipelines cache on hits.

This shoudl help with random timeout failures like in https://dev.azure.com/klayout/klayout/_build/results?buildId=3353&view=logs&j=023fc726-910f-52b9-2466-adec1eae67d0&t=60dea761-7989-53a0-74cc-a05ee14f95b7&l=21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant