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

add libabigail checks #5062

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

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Apr 3, 2023

Problem: ABI breaks can happen between versions
Solution: run libabigail against release vs. pr

We do this by grabbing the *.so out of the install folder in the latest fluxrm/flux-sched:focal and comparing against using the same container to build the pull request code. Since Flux is finicky about having a tag for the version, we make a faux one.

This will close #4396

Background for the action: https://youtu.be/2Oet0hGOy7U?t=1998

Watch beyond that segment for my Yoda impression!

Problem: ABI breaks can happen between versions
Solution: run libabigail against release vs. pr
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Merging #5062 (c9f57cb) into master (89f7be0) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5062      +/-   ##
==========================================
- Coverage   83.16%   83.16%   -0.01%     
==========================================
  Files         445      445              
  Lines       76577    76577              
==========================================
- Hits        63688    63682       -6     
- Misses      12889    12895       +6     

see 14 files with indirect coverage changes

docker run --rm \
--workdir=$(pwd) \
--volume=/tmp/libs:/tmp/libs \
fluxrm/flux-sched:focal \
Copy link
Contributor

Choose a reason for hiding this comment

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

This is great!

I'm sure there is a good reason, but why use the flux-sched docker image instead of flux-core here? The flux-sched image only gets updated when changes to flux-sched are merged, so it could be out of date?

Copy link
Member Author

Choose a reason for hiding this comment

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

I honestly didn't know there was a flux core one 😆 I always use flux-sched! Even better, I think we should use the containers (TBA) built via GitHub actions and pushed to ghcr.io #4996

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.

add libabigail ABI checks to CI
2 participants