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.
Purpose:
Binary distribution packages:
sdist, win32, win-amd64, manylinux1_x86_64, manylinux1_i686, macos_10.14_x86_64
Preparation:
Go to https://pypi.org/manage/account/#api-tokens and create a new API token for the Capstone-engine project on PyPI, limit the token scope to just this project. You can call it something like GitHub Actions CI/CD or anything that can be easily distinguishable in the token list. Don’t close the page just yet — you won’t see that token again.
In a separate browser tab or window, go to the Github Settings tab of capstone-engine/capstone repository and then click on Secrets in the left sidebar.
Create a new secret called pypi_pass and copy-paste the token generated from the first step.
Repeat the steps for test.pypi.org and create a secret named testpypi_pass with the testpypi token.
Build tools/Dockers
Using dockcross's manylinux1 images for Linux builds. Comply with PEP 513 requirements.
Artifacts
Workflow will produce zipped a artifact containing all the files for download/inspection/testing.
Workflows