Skip to content

Add automatic package pushing to binary caches - #167

Merged
martijnbastiaan merged 3 commits into
mainfrom
ci-auto-upload
May 28, 2026
Merged

martijnbastiaan merged 3 commits into
mainfrom
ci-auto-upload

Conversation

@jaschutte

@jaschutte jaschutte commented Sep 19, 2025 •

Copy link
Copy Markdown
Contributor

Makes CI automatically push packages to the binary cache for commits on the main branch. This way the caches always contain the latest versions. It also updates the documentation to include a small chapter about how to include Cachix to use the cache. Both the developer shell and the package itself get cached.

Practically a 1:1 copy of clash-lang/clash-cores#48

@jaschutte
jaschutte force-pushed the ci-auto-upload branch 3 times, most recently from 0ea0d03 to d97a9ef Compare November 19, 2025 10:56
@jaschutte

Copy link
Copy Markdown
Contributor Author

Could this get a 2nd look? I have updated this to implement the feedback that was mentioned in the clash-cores PR.

@DigitalBrains1 DigitalBrains1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Mostly minor stuff.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread README.md Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved

@DigitalBrains1 DigitalBrains1 left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I just noticed the Cabal tests still run on GitHub shared runners. I think we should move those tests to local runners now that we have them.

Also, the keys for the local cache have changed.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
@martijnbastiaan

Copy link
Copy Markdown
Member

I'll pick it up @DigitalBrains1! I'm working on getting Nix builds working anyway.

@martijnbastiaan
martijnbastiaan force-pushed the ci-auto-upload branch 2 times, most recently from bb07147 to 22c6fe5 Compare May 27, 2026 14:23
@martijnbastiaan
martijnbastiaan force-pushed the ci-auto-upload branch 2 times, most recently from 62cfefd to e2c7d2c Compare May 27, 2026 15:00
@martijnbastiaan
martijnbastiaan changed the base branch from main to martijn/buildable-nix May 27, 2026 15:23
Base automatically changed from martijn/buildable-nix to main May 28, 2026 08:49
@martijnbastiaan

Copy link
Copy Markdown
Member

I've talked to @DigitalBrains1 on Slack and he said this PR was good to go after the last minor fixups. So I'm merging :).

@martijnbastiaan
martijnbastiaan enabled auto-merge May 28, 2026 08:52
martijnbastiaan and others added 3 commits May 28, 2026 11:16
CI runners are sometimes too slow
Adds Nix caching as a CI step. It caches both the developer shell and
Nix package.

Overall very similar to
clash-lang/clash-cores#48
@martijnbastiaan
martijnbastiaan merged commit e03dbd8 into main May 28, 2026
16 checks passed
@martijnbastiaan
martijnbastiaan deleted the ci-auto-upload branch May 28, 2026 09:45
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.

4 participants