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: always cache build; switch cache #270

Closed
wants to merge 49 commits into from
Closed

chore: always cache build; switch cache #270

wants to merge 49 commits into from

Conversation

tserg
Copy link
Contributor

@tserg tserg commented Apr 29, 2023

Replaces #268

What I did

  • Add scarb latest commit hash to the cache key.
  • Always save build to cache, even if workflow fails.

Incremental build is not possible on CI in this approach - see comment below for link to explanation.

@tserg
Copy link
Contributor Author

tserg commented Apr 29, 2023

Waiting for a new Scarb or Cairo commit to check if incremental build works

@tserg
Copy link
Contributor Author

tserg commented Apr 29, 2023

I just found out that incremental build is not possible on CI via this approach - see link.

@tserg tserg mentioned this pull request Apr 29, 2023
@tserg tserg changed the title [wip] chore: rust cache chore: always cache build; switch cache Apr 29, 2023
@tserg
Copy link
Contributor Author

tserg commented Apr 30, 2023

Not for review yet.

@tserg tserg marked this pull request as draft May 1, 2023 03:50
@tserg tserg closed this May 4, 2023
@milancermak milancermak deleted the debug/ci_alt branch June 1, 2023 09:24
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