Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: CI: use parameter cache also for macOS #1583

Merged
merged 1 commit into from
Mar 28, 2022
Merged

chore: CI: use parameter cache also for macOS #1583

merged 1 commit into from
Mar 28, 2022

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Mar 25, 2022

In CircleCI you cannot restore a cache on macOS that was saved on Linux.
The workaround is to persist those files in a workspace. That workspace
can then be attached on macOS. So the workflow for macOS is:

  1. (Linux) Generate parameters and cache them
  2. (Linux) Restore cache and preserve in workspace
  3. (macOS) Attach workspace

In CircleCI you cannot restore a cache on macOS that was saved on Linux.
The workaround is to persist those files in a workspace. That workspace
can then be attached on macOS. So the workflow for macOS is:

  1. (Linux) Generate parameters and cache them
  2. (Linux) Restore cache and preserve in workspace
  3. (macOS) Attach workspace
@cryptonemo
Copy link
Collaborator

Resolves #1534

@vmx vmx merged commit c21bf3e into master Mar 28, 2022
@vmx vmx deleted the macosci branch March 28, 2022 16:01
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.

3 participants