add PR build validation workflow

Run the full cross-platform build matrix on pull request creation and updates so build regressions are caught before merge without publishing release artifacts.
This commit is contained in:
Shantur Rathore
2026-03-19 14:52:48 +00:00
parent 6961efde0b
commit 672177f570

23
.github/workflows/pr-build.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: PR Build Validation
on:
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: read
concurrency:
group: pr-build-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
build:
uses: ./.github/workflows/build-and-upload.yml
with:
ref: ${{ github.event.pull_request.head.sha }}
upload: false
set_versions: false