Skip to content

CI: Explore consolidating Linux/Windows test workflows? #603

@leofang

Description

@leofang

#600 opens up the door toward a single (Bash-based) implementation of the test workflow, which was previously not possible due to lack of Git Bash on the GH-hosted Windows GPU runner. It was the main reason that we had to re-implement test-wheel-windows.yml in Powershell in the first place (#444 (comment)). Note that our build workflow is already cross-platform (and Bash-based, since all of our build runners have Bash pre-installed -- trivial on Linux, and thanks to GH-hosted runner images on Windows).

There might still be a few kinks, so a naive unification likely won't work (ex: container vs VM image, gcc vs msvc, ...). But I think most job steps are enough identical that we could probably extract out a reusable workflow, e.g. test-wheel-common.yml, for both OS to call.

Metadata

Metadata

Assignees

Labels

CI/CDCI/CD infrastructureenhancementAny code-related improvements

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions