Skip to content

ci: consolidate PR image build matrix#398

Open
plexoos wants to merge 2 commits into
mainfrom
consolidate-pr-build-matrix
Open

ci: consolidate PR image build matrix#398
plexoos wants to merge 2 commits into
mainfrom
consolidate-pr-build-matrix

Conversation

@plexoos

@plexoos plexoos commented Jul 1, 2026

Copy link
Copy Markdown
Member

Share one supported image configuration matrix across release and develop PR
image builds so CUDA, OptiX, Geant4, CMake, and OS combinations stay aligned.

Add the missing CUDA 12.5.1 release configuration and CUDA 13.2.0 develop
configuration. Reuse the shared matrix for PR image testing and cleanup so
build, test, and cleanup jobs operate on the same image variants.

Share one supported image configuration matrix across release and develop PR
image builds so CUDA, OptiX, Geant4, CMake, and OS combinations stay aligned.

Add the missing CUDA 12.5.1 release configuration and CUDA 13.2.0 develop
configuration. Reuse the shared matrix for PR image testing and cleanup so
build, test, and cleanup jobs operate on the same image variants.
Copilot AI review requested due to automatic review settings July 1, 2026 20:16
@plexoos plexoos self-assigned this Jul 1, 2026
@plexoos plexoos added test ci build Build-system or toolchain configuration problems labels Jul 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the pull request image workflow to use a shared build configuration matrix across release and develop image variants, aiming to keep CUDA/OptiX/Geant4/CMake/OS combinations aligned between build, test, and cleanup stages.

Changes:

  • Consolidates the PR image build matrix into a shared config list and combines it with a target: [release, develop] axis.
  • Expands PR image testing and cleanup to operate across both targets (with a GPU-runner OptiX 9.1.0 exclusion for testing).
  • Adds the missing CUDA 12.5.1 release variant and CUDA 13.2.0 develop variant via the shared matrix.

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

type=registry,ref=${{ env.BASE_CACHE_REF }}
type=registry,ref=${{ env.CACHE_REF }}
push: ${{ matrix.target == 'develop' && github.event.pull_request.head.repo.full_name == github.repository }}
push: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
Comment on lines 186 to +188
cleanup-pr-images:
if: ${{ success() && github.event.pull_request.head.repo.full_name == github.repository }}
needs: test-develop-image
needs: test-image
Run cleanup-pr-images with always() so GHCR PR image cleanup is attempted
even when build or test matrix entries fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build-system or toolchain configuration problems ci test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants