Skip to content

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

Merged
nomeata merged 4 commits intomasterfrom
joachim/nix-build-uncached
Aug 24, 2021
Merged

CI: Use nix-build-uncached to speed up CI jobs#2747
nomeata merged 4 commits intomasterfrom
joachim/nix-build-uncached

Conversation

@nomeata
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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 (caffeinelabs/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 (caffeinelabs/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