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

bpo-43725: Add CI step to check changes in the exported ABI #25188

Closed
wants to merge 1 commit into from

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Apr 4, 2021

@pablogsal pablogsal changed the title Add CI step to check changes in the exported ABI bpo-43725: Add CI step to check changes in the exported ABI Apr 4, 2021
@pablogsal pablogsal force-pushed the abicheck branch 6 times, most recently from 311b675 to 953b0f1 Compare April 4, 2021 20:55
@pablogsal
Copy link
Member Author

Unfortunately seems that doing this check with two different compiler versions produce some different DWARF and the tool identifies the differences as errors :(

@pablogsal pablogsal closed this Apr 4, 2021
Copy link
Member

@gpshead gpshead left a comment

Choose a reason for hiding this comment

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

Neat, lets try it out! I suppose this shows up as a non-blocking check by default? Release branch owners can presumably decide if this is reliable enough to make it blocking.

@pablogsal pablogsal reopened this Apr 4, 2021
@pablogsal
Copy link
Member Author

I will try to investigate how to overcome this:

Unfortunately seems that doing this check with two different compiler versions produce some different DWARF and the tool identifies the differences as errors :(

@pablogsal
Copy link
Member Author

@gpshead Check my message in https://bugs.python.org/msg390213 with the analysis of this solution.

@@ -48,6 +48,28 @@ jobs:
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true
fi

check_abi:
name: 'Check if the ABI has changed'
runs-on: ubuntu-latest
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd pin the runner, to ensure that the job runs with at least the same major GCC version every time. Ref. bpo-43382.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants