Skip to content

Conversation

@joshbainbridge
Copy link
Collaborator

@joshbainbridge joshbainbridge commented Oct 20, 2025

After initial exploration done on 9756110 the conclusion was that
there were a few blocker preventing us from effectively using Nix on the
GitHub CI. Re-visiting this after recent updates, it is now much more
viable to leverage Nix in the CI for consistent testing.

This commit does not deploy Nix for all CI build stages, but it does for
all test jobs. This allows us to drive the clang-tools version from the
locked Nix environment, as opposed to the variable versions used on the
GitHub runners. We then get a bit more compiler coverage on the later
jobs, although this might also get moved over in time.

Updating clang-tools also meant that some tests failed. As a result,
this commit also updates the code to resolve the failing tests.

@joshbainbridge joshbainbridge force-pushed the cachix-ci branch 2 times, most recently from 01bdcec to aa4d0dc Compare October 20, 2025 21:48
@joshbainbridge joshbainbridge force-pushed the cachix-ci branch 2 times, most recently from aceac04 to 45f1484 Compare November 2, 2025 21:12
After initial exploration done on '9756110' the conclusion was that
there were a few blocker preventing us from effectively using Nix on the
GitHub CI. Re-visiting this after recent updates, it is now much more
viable to leverage Nix in the CI for consistent testing.

This commit does not deploy Nix for all CI build stages, but it does for
all test jobs. This allows us to drive the clang-tools version from the
locked Nix environment, as opposed to the variable versions used on the
GitHub runners. We then get a bit more compiler coverage on the later
jobs, although this might also get moved over in time.

Updating clang-tools also meant that some tests failed. As a result,
this commit also updates the code to resolve the failing tests.

Signed-off-by: Josh Bainbridge <josh.bainbridge@gmail.com>
@joshbainbridge joshbainbridge changed the title WIP testing cachix on CI Start using Nix for consistency on CI Nov 2, 2025
@joshbainbridge joshbainbridge merged commit 1fc45cb into main Nov 2, 2025
50 checks passed
@joshbainbridge joshbainbridge deleted the cachix-ci branch November 2, 2025 22:37
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