Skip to content

github/workflows: make macos matrix job-names more telling #16152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cloph
Copy link

@cloph cloph commented Mar 29, 2025

the cc/cxx values as part of the matrix don't differenciate the jobs, while the architecture does. Since cc/cxx are the same in all cases, just set them directly. In turn make the architecture value part of the job-labels and use exclude statements instead of include to limit the jobs accordingly.

While the other PR that adds a custom ffmpeg build w/libzvbi has been rejected, I think this one is still beneficial on its own.
instead of "clang, clang++, macos-13" and "clang, clang++, macos-14" having "macos-13, intel" and "macos-14, arm" is more useful.

the cc/cxx values as part of the matrix don't differenciate the jobs,
while the architecture does. Since cc/cxx are the same in all cases,
just set them directly. In turn make the architecture value part of the
job-labels and use exclude statements instead of include to limit the
jobs accordingly.
CC: "${{ matrix.cc }}"
CXX: "${{ matrix.cxx }}"
CC: "clang"
CXX: "clang++"
Copy link
Member

Choose a reason for hiding this comment

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

Is this even needed anymore?

Copy link

Download the artifacts for this pull request:

Windows
macOS

@Akemi
Copy link
Member

Akemi commented Mar 29, 2025

also pretty nit-picky, could you please write macOS instead of macos in your commit message. it just triggers my ocd.

- arch: "intel"
os: "macos-14"
- arch: "intel"
os: "macos-15"
Copy link
Member

Choose a reason for hiding this comment

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

a bit nit-picky, but i would prefer the order swapped, eg os first arch second. reason, same order as in the matrix and the OS version the primary/functional part. the arch is just used for the naming of the zip.

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