-
Notifications
You must be signed in to change notification settings - Fork 210
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
fix: switch back to nix build
for release builds on master
#4314
Conversation
For these we do want to produce the final binary every time, and their runtime is not as important. Re fedimint#4258
It sometimes can take a while.
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.
ACK
@@ -444,7 +452,7 @@ jobs: | |||
run: | | |||
bins="${{ matrix.build.bins }}" | |||
for bin in ${bins//,/ } ; do | |||
nix run "github:Mic92/nix-fast-build?rev=4376b8a33b217ee2f78ba3dcff01a3e464d13a46" -- --skip-cached --no-nom --flake .#legacyPackages.$(nix eval --raw --impure --expr builtins.currentSystem).$bin && sha256sum "./result/bin/$bin" | |||
nix build .#$bin && sha256sum "./result/bin/$bin" |
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.
Is this step meant to have a test similar to the check versions step above? I believe this only prints the sha256 hash without comparing.
bin=fedimint-cli
nix build .#$bin && sha256sum "./result/bin/$bin"
20e9140fd21367f8b53f6a26f2a75bcf7191b5124058722c3f991e3e4e1b8e58 ./result/bin/fedimint-cli
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.
It's only for printing, so one can take it from CI output and compare with a local build.
For these we do want to produce the final binary every time, and their runtime is not as important.
Re #4258