-
Notifications
You must be signed in to change notification settings - Fork 99
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
add nix cache workflow #1247
add nix cache workflow #1247
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but let's see the build pass once we have the credentials set.
Since you were able to get the new github action to run without merging the PR, I suggest we extend the build to cache the outputs needed by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have much knowledge of the nixcache stuff, so I defer to Enis as the final say
@emilypi sorry for leaving this PR hanging. As I've mentioned above, it would be nicer to cache the |
@rsoeldner I've pushed a few commits here in order to add the |
Is there something inherent in |
Well, we probably want to have some
I remember @jwiegley also wanting to have caching for pact's
All of that said, I'd be happy to remove |
@imalsogreg @rsoeldner @jwiegley are you guys convinced this is something you want? |
Now that the Nix build action is passing on all platforms, this PR should be ready to merge unless we decide to remove |
Caching of artefacts is something that I want, and @emilypi I also use this for working on Pact, and I hope that more people will be doing so in future. |
@emilypi I'm satisfied with this. Its a big step forward on my current workflow:-) @enobayram thank you for the entire support, it was an excellent experience! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works on my mac! At least, most of the deps came from chainweb's nix cache. (I did have to compile trifecta and pact, not sure why).
nix build .#
This PR adds nix caching of artefacts