Skip to content

v5: Fix the CI - #3158

Merged
Rot127 merged 4 commits into
capstone-engine:v5from
Rot127:ci-fix
Nov 20, 2026
Merged

Rot127 merged 4 commits into
capstone-engine:v5from
Rot127:ci-fix

Conversation

@Rot127

@Rot127 Rot127 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Your checklist for this pull request

  • I've documented or updated the documentation of every API function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

  • Rewrite history

Cmocka blocked Github because it got DDOSed.
Also fixes the Python tests.

Test plan

...

Closing issues

...

@github-actions github-actions Bot added the Github-files Github related files label Nov 9, 2026
@historicattle

Copy link
Copy Markdown
Contributor

Can we use cmocka-2.0.2? Looks like there were a lot improvements (especially in v2.0.0)

@Rot127

Rot127 commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Yes, but in a another PR please.

@github-actions github-actions Bot added the Python Bindings label Nov 18, 2026
@Rot127
Rot127 force-pushed the ci-fix branch 3 times, most recently from 1e54ed8 to 232d8a7 Compare November 19, 2026 21:27
@Rot127 Rot127 changed the title Fix CI by switching to Gitlab for downloads of cmocka. v5: Fix the CI Nov 19, 2026
@Rot127
Rot127 marked this pull request as draft November 19, 2026 21:56
@Rot127
Rot127 force-pushed the ci-fix branch 2 times, most recently from 6a4dfca to 8760e65 Compare November 19, 2026 22:18
@Rot127
Rot127 marked this pull request as ready for review November 19, 2026 23:34
@Rot127
Rot127 requested a lite review from Copilot November 19, 2026 23:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The release workflow tests Python 3.15 but its explicit wheel-build allowlist stops at cp314, leaving the newly supported runtime without a corresponding release artifact.

1 open issue
What changed in this PR

Updates CI for newer CMake, Python, macOS runners, cibuildwheel, and a GitLab-hosted Cmocka source archive to improve build reliability.

Changes:

  • Suppresses the CMake 4.5 diagnostic for legacy global definitions.
  • Updates Python CI to macOS 15 and Python 3.15.
  • Replaces unavailable Cmocka Git clones with the pinned GitLab 1.1.8 source archive.
  • Upgrades cibuildwheel and expands release builds through Python 3.14.
File Description
CMakeLists.txt Adds conditional suppression for the CMake 4.5 diagnostic associated with legacy global definitions.
.github/​workflows/​python-tests.yml Updates the Python test matrix and macOS runner versions.
.github/​workflows/​python-publish-release.yml Pins the Ubuntu runner, upgrades cibuildwheel, and expands wheel builds through Python 3.14.
.github/​workflows/​CrossBuilds.yml Downloads and stages the pinned Cmocka 1.1.8 source archive from GitLab for cross-build tests.
.github/​workflows/​CITest.yml Replaces the unavailable Cmocka Git clone with the pinned GitLab archive download.

Review effort: Lite

@Rot127
Rot127 merged commit dabcd19 into capstone-engine:v5 Nov 20, 2026
26 checks passed
@Rot127
Rot127 deleted the ci-fix branch November 20, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Github-files Github related files Python Bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants