Add GitHub Actions for C ABI checking#1
Merged
benfred merged 4 commits intobenfred:c_abi_checkerfrom Feb 2, 2026
Merged
Conversation
- Add check-c-abi.yaml workflow for PRs - Add store-c-abi-baseline.yaml workflow for releases - Integrate ABI check into pr.yaml pipeline Co-authored-by: Cursor <cursoragent@cursor.com>
- Extract and store main baseline on push to main (never expires) - PRs download and compare against main baseline - Release workflow archives the main baseline with version tag - Eliminates duplicate ABI extraction work Co-authored-by: Cursor <cursoragent@cursor.com>
Enables bootstrapping the initial c-abi-baseline-main artifact Co-authored-by: Cursor <cursoragent@cursor.com>
- Store baselines with commit SHA for precise comparisons - Cascade: try merge-base → latest main → extract fresh - Add concurrency control to prevent race conditions - Report which baseline source was used for transparency Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
Adds GitHub Actions workflows to automate C ABI compatibility checking, building on the existing
ci/check_c_abi.pyscript from PR rapidsai#1749.Changes
New Workflows
.github/workflows/check-c-abi.yaml.github/workflows/store-c-abi-baseline.yamlbaselinesbranch (permanent)Integration
.github/workflows/pr.yamlcheck-c-abijob to PR pipelineKey Features
Intelligent baseline management:
Race condition prevention:
c-abi-baseline-{sha}, 90-day retention)c-abi-baseline-main, never expires)Developer experience:
Bootstrap Instructions
After merge, manually run the "C ABI Compatibility Check" workflow on main branch to create the initial baseline.