-
Notifications
You must be signed in to change notification settings - Fork 21
Init Github Nix Workflow #142
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
base: master
Are you sure you want to change the base?
Conversation
CuppoJava
left a comment
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.
Thank you!
nix/lbstanza-bin/default.nix
Outdated
|
|
||
| stdenv.mkDerivation rec { | ||
| pname = "lbstanza-bin"; | ||
| version = "0.14.33"; |
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.
Thank you for this Scott! I'm not familiar with NIX syntax.
Is there a way to pull this version from compiler/stz-params.stanza? I'm don't want to accidentally forget and accidentally leave this workflow unsynchronized.
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 CI isn't meant to be used against latest stable release but rather against master, it's meant to test every commit.
The way it does it is by first using this binary stanza to build master. So this version number isn't what we are testing, it's the version of the stanza compiler we are using to try and build master.
Do we really need to always use the latest stable binary release indicated in compiler/stz-params.stanza in order to build master ?
|
Thanks Scott! Left one comment on your PR, and closing this issue. |
|
Hmm. I meant to close the issue, not the PR. But I guess the two are linked. Thanks for the explanation. It would be a little more robust if it used the binary release indicated in
|
faa1327 to
afe8b5f
Compare
afe8b5f to
c028256
Compare
Ok, I've pushed one commit that makes the CI automatically update |
Here is a simple workflow for continuous building of master after each commits on a linux machine leveraging Nix.