[ci] Call build_*_python_packages in ci_*.yml workflows. #1630
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Progress on #1559. This gets us presubmit coverage for building the Python packages and running sanity check tests on them (fully implemented on Windows, almost finished on Linux).
Technical Details
As mentioned on #1596, the new
build_*_python_packages.yml
workflows do not yet upload the packages they build anywhere and only run sanity checks on the current (CPU build) machine. Once the workflows upload we can chain anothertest_python_packages.yml
workflow similar to howtest_artifacts.yml
is already connected.The plumbing here exposed a few issues that I'm ignoring in this PR:
artifact_run_id
is overloaded now, working withuse_prebuilt_artifacts
and standard fully pipelined build/test/release runs. See the comments I added in the files for some ideas there.package_version
should be computed at the start of the pipeline and passed through to all child jobs. We can lift that code from the release workflow into somewhere shared between CI and CD. For now I'm just hardcoding to a version that functionally works, but we should fix that version before uploading these packages anywhere.amdgpu_family: ${{ inputs.amdgpu_families }}
is changing from plural to singular, but other workflows use plural and then only operate on singular anyways. Might correct that in a follow-up:TheRock/.github/workflows/ci.yml
Lines 70 to 77 in 8e437ab
Test Plan
Watch CI results. I also triggered a run with
use_prebuilt_artifacts
on a prior commit at https://github.com/ROCm/TheRock/actions/runs/18112810485.