ci: cover both x64 and arm64 macOS .pkg in test-distribution#6103
Open
Fedr wants to merge 1 commit into
Open
Conversation
test-distribution validated only the x64 macOS .pkg, so the arm64 .pkg was uploaded to releases without any end-to-end install/launch check -- mirroring the gap that linux-x64-test / linux-arm64-test long ago closed for Linux. Split the single macos-test job into macos-x64-test (existing, macos-15-intel, *x64.pkg) and a new macos-arm64-test (macos-latest github-hosted Apple Silicon, *arm.pkg). Steps are otherwise identical: install via sudo installer, brew install runtime deps from the bundled requirements/macos.txt, run MeshViewer / meshconv, build C and C++ examples against the installed framework.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
test-distributionvalidates only the x64 macOS.pkg(test-distribution.yml#L216-256). The arm64.pkgis built and uploaded to every release but never installed and launched in CI, so regressions specific to Apple Silicon packaging (linker paths, install-name rewrites, code-signing) ship without warning. Linux has had this covered for a long time via the separatelinux-x64-test/linux-arm64-testjobs.Change
Split the single
macos-testjob into two parallel jobs that mirror the Linux pattern:macos-x64-test—macos-15-intel, downloads*x64.pkg(unchanged behavior, just renamed)macos-arm64-test—macos-latest(github-hosted Apple Silicon), downloads*arm.pkgSteps are otherwise identical: install via
sudo installer, install runtime deps from the bundledrequirements/macos.txt, launchMeshViewerandmeshconv, build the C and C++ examples against the installed framework.Test plan
test-distributionchain shows bothmacos-x64-testandmacos-arm64-testrunningNon-macOS CI is disabled via labels — this PR only touches the macOS portion of
test-distribution.yml.