-
Notifications
You must be signed in to change notification settings - Fork 9
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
build wheel #50
build wheel #50
Conversation
9e96350
to
d1b46f0
Compare
438fd54
to
9edd6a4
Compare
This PR is ready (if pass checks), but since its using docker/qemu action I am verifying with appsec engineer to make sure no security issues arise from this. |
…into build-wheels
cdeb468
to
19209f8
Compare
CIBW_SKIP: "*-musllinux*" | ||
CIBW_ENVIRONMENT_LINUX: GOARCH="${{ matrix.GO_ARCHITECTURE }}" | ||
CIBW_ARCHS_LINUX: "${{matrix.LINUX_ARCHITECTURE}}" | ||
CIBW_BEFORE_ALL_LINUX: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For context on why these commands are run: cibuildwheel documentation (https://cibuildwheel.readthedocs.io/en/stable/faq/), linux builds are held on its own containers which is why I am installing golang manually in the command line. However I had issues once inside the container running go so the workaround I did was to build the go binary in the container in the before all because golang works there and then in the actual building process, pass a flag to skip the binary building so go is not called at all and then the binary is then built.
* build wheel * add hash test * remove qemu non-linux * remove pull_request trigger
Issue number:
Summary
Added GH action for building wheels and publishing them to an artifact for future use. Note for linux builds, the GH action cibuildwheel has extra functionality to accommodate golang not being in the container and it builds the binary with golang before going in the container so inside setup.py it does not create a new binary if the env variable GO_ARCH is provided and uses the existing binary to create the wheel
Changes
User experience
Mandatory Checklist
If your change doesn't seem to apply, please leave them unchecked.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.