Skip to content

Refactor CI workflows and improve test configuration#9010

Open
alexreinking wants to merge 10 commits intomainfrom
alexreinking/testing-cleanup
Open

Refactor CI workflows and improve test configuration#9010
alexreinking wants to merge 10 commits intomainfrom
alexreinking/testing-cleanup

Conversation

@alexreinking
Copy link
Member

This PR bundles a few changes together (to avoid spending a bunch of CI time these changes are all designed to reduce)

  • We skip simd_op_check builds on non-host targets
  • We move scattered autoscheduler tests to tests/ (this might be slightly broken; we'll see what CI says. I tested it to work locally, though)
  • The GHA workflow steps have been grouped by path-relevance. That way we don't run tests that couldn't possibly fail for a code-related reason.

Fixes #9009
Fixes #9004

@alexreinking alexreinking added build Issues related to building Halide and with CI code_cleanup No functional changes. Reformatting, reorganizing, or refactoring existing code. labels Mar 11, 2026

# Simd op check tests fix the target features internally, so they
# only need to be run on one target in CI. Every CI runner targets
# host, so we can just check for that.
Copy link
Contributor

Choose a reason for hiding this comment

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

If every runner targets host, then every runner will simd op check all targets ? Wasn't the goal to not do it redundantly ?

This could be stripped further down to every machine just testing its own architectures op check suite.

Copy link
Member Author

Choose a reason for hiding this comment

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

I figured we wanted to make sure cross-compilation worked. But maybe we have enough coverage elsewhere. I'd like @abadams to weigh in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues related to building Halide and with CI code_cleanup No functional changes. Reformatting, reorganizing, or refactoring existing code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GHA workflows need better filters There is no reason to run simd_op_check so much

2 participants