Skip to content

Add powerpc64le VSX coverage in CI#61

Merged
Nugine merged 2 commits intomainfrom
copilot/add-tests-powerpc64-vsx
Feb 11, 2026
Merged

Add powerpc64le VSX coverage in CI#61
Nugine merged 2 commits intomainfrom
copilot/add-tests-powerpc64-vsx

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 11, 2026

CI lacked powerpc64 VSX coverage and needed to exercise those code paths under QEMU. This adds a powerpc64le target to the test matrix and ensures VSX-specific flags are used during generated tests.

  • CI matrix + QEMU
    • add powerpc64le target and install QEMU (ppc64le) before cross tests
  • Test generation
    • include powerpc64le mapping and VSX rustflags in scripts/testgen.py

Example:

- if: matrix.target == 'powerpc64le-unknown-linux-gnu'
  uses: docker/setup-qemu-action@v3
  with:
    platforms: ppc64le

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@Nugine
Copy link
Copy Markdown
Owner

Nugine commented Feb 11, 2026

Co-authored-by: Nugine <30099658+Nugine@users.noreply.github.com>
Copilot AI changed the title [WIP] Add tests for powerpc64 vsx in CI using qemu Add powerpc64le VSX coverage in CI Feb 11, 2026
Copilot AI requested a review from Nugine February 11, 2026 05:13
@Nugine Nugine marked this pull request as ready for review February 11, 2026 09:42
Copilot AI review requested due to automatic review settings February 11, 2026 09:42
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds CI coverage for PowerPC64LE (ppc64le) so VSX-related code paths are exercised under QEMU via the existing cross-driven test generation workflow.

Changes:

  • Extend scripts/testgen.py with a powerpc mode, mapping powerpc64le-unknown-linux-gnu and applying -C target-feature=+vsx.
  • Add powerpc64le-unknown-linux-gnu to the GitHub Actions test matrix.
  • Install QEMU user emulation (binfmt) for ppc64le in CI when running that target.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
scripts/testgen.py Adds powerpc64le target mapping and VSX rustflags so generated tests exercise VSX paths.
.github/workflows/ci.yml Adds powerpc64le to the matrix and sets up QEMU for that target before running generated cross tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Nugine Nugine merged commit 5568f5f into main Feb 11, 2026
15 checks passed
@Nugine Nugine deleted the copilot/add-tests-powerpc64-vsx branch February 11, 2026 17:42
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.

3 participants