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

fix: switch back to nix build for release builds on master #4314

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

dpc
Copy link
Contributor

@dpc dpc commented Feb 13, 2024

For these we do want to produce the final binary every time, and their runtime is not as important.

Re #4258

For these we do want to produce the final binary every time,
and their runtime is not as important.

Re fedimint#4258
@dpc dpc requested a review from a team as a code owner February 13, 2024 05:36
@dpc dpc enabled auto-merge February 13, 2024 05:36
Copy link
Contributor

@oleonardolima oleonardolima left a 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"
Copy link
Member

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

Copy link
Contributor Author

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.

@dpc dpc added this pull request to the merge queue Feb 13, 2024
Merged via the queue into fedimint:master with commit eb93e9d Feb 13, 2024
22 checks passed
@dpc dpc deleted the 24-02-12-fix-master-branch-builds branch February 13, 2024 21:48
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.

None yet

4 participants