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

CI: Use nix-build-uncached to speed up CI jobs #2747

Merged
merged 4 commits into from
Aug 24, 2021

Conversation

nomeata
Copy link
Collaborator

@nomeata nomeata commented Aug 24, 2021

before, the nix-build step would build or download everything defined in the
default.nix file. But there is no point in downloading stuff from the
cache here; if it is there, all is well.

The nix-build-uncached tool supposedly fixes that. So let’s try.

before, the `nix-build` step would build or download everything defined in the
`default.nix` file. But there is no point in downloading stuff from the
cache here; if it is there, all is well.

The [`nix-build-uncached` tool](https://github.com/Mic92/nix-build-uncached) supposedly fixes that. So let’s try.
@github-actions
Copy link

github-actions bot commented Aug 24, 2021

Comparing from 5e13757 to 76da6e0:
The produced WebAssembly code seems to be completely unchanged.

@nomeata nomeata marked this pull request as ready for review August 24, 2021 08:46
@nomeata nomeata added the automerge-squash When ready, merge (using squash) label Aug 24, 2021
@crusso crusso self-requested a review August 24, 2021 12:25
Copy link
Contributor

@crusso crusso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubberstamping

@crusso crusso self-requested a review August 24, 2021 12:26
Copy link
Contributor

@crusso crusso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving

@nomeata nomeata removed the automerge-squash When ready, merge (using squash) label Aug 24, 2021
@nomeata nomeata merged commit 829702a into master Aug 24, 2021
@nomeata nomeata deleted the joachim/nix-build-uncached branch August 24, 2021 12:53
nomeata added a commit to nomeata/ic-hs that referenced this pull request Sep 14, 2021
this should noticably speed up CI runs that don’t have to build
everything (e.g. when only tests change). Tried and proven in Motoko
already (dfinity/motoko#2747)
marcin-dziadus pushed a commit to dfinity/ic-hs that referenced this pull request Sep 15, 2021
this should noticably speed up CI runs that don’t have to build
everything (e.g. when only tests change). Tried and proven in Motoko
already (dfinity/motoko#2747)
@nomeata nomeata mentioned this pull request Oct 31, 2021
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.

2 participants