Skip to content
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

GHA: Allow setting defines, variant, and linkage via matrix #262

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

Conversation

Flamefire
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (85ed0b4) to head (a4f3878).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #262      +/-   ##
===========================================
+ Coverage   95.00%   100.00%   +5.00%     
===========================================
  Files           2         2              
  Lines          20        22       +2     
  Branches       10        10              
===========================================
+ Hits           19        22       +3     
+ Misses          1         0       -1     

see 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85ed0b4...a4f3878. Read the comment docs.

Pass the matrix variables
`defines`, `variant`, `link` as
`$B2_DEFINES`, `$B2_VARIANT` and `$B2_LINK`

If they are not set in the matrix the entry in the `env` dictionary will
be empty which results in using the global default value if any or not
defining it.
I.e. an empty value has no effect and we can set it even if the matrix
key is not set.
@Flamefire Flamefire changed the title Update ci.yml GHA: Allow setting defines, variant, and linkage via matrix Jan 22, 2025
@Flamefire Flamefire requested a review from jeking3 January 22, 2025 11:20
@Flamefire Flamefire marked this pull request as ready for review January 22, 2025 11:20
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.

1 participant