Skip to content

ci: speed up and improve kernels tests CI#398

Merged
danieldk merged 9 commits intomainfrom
kernel-test-fixes
Mar 25, 2026
Merged

ci: speed up and improve kernels tests CI#398
danieldk merged 9 commits intomainfrom
kernel-test-fixes

Conversation

@danieldk
Copy link
Member

@danieldk danieldk commented Mar 25, 2026

  • Do not build test image inside a buildx container. We don't use its features and it adds a lot of serialization time.
  • Build all kernels using a single Nix command to get build parallelism.
  • Make kernel test failures fail the workflow.
  • Fix the failures that were silently discarded. Also uncovered a bug in the compat module used by all kernels.

This adds a lot of extra serialization/deserialization, but for no gain,
since we are not doing multi-platform builds or registry caching.
@danieldk danieldk marked this pull request as ready for review March 25, 2026 12:41
Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

🔥

load: true
push: false
tags: kernel-builder:latest
run: |
Copy link
Member

Choose a reason for hiding this comment

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

I guess you meant

Do_not_ build test image inside a buildx container. We don't use its features and it adds a lot of serialization time.

@@ -0,0 +1,159 @@
{
description = "All example kernels";
Copy link
Member

Choose a reason for hiding this comment

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

TIL. Thanks for this.

@danieldk danieldk merged commit 2d2afda into main Mar 25, 2026
38 checks passed
@danieldk danieldk deleted the kernel-test-fixes branch March 25, 2026 13:10
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