Create ci that bundles python script into a single executable #1
Draft
Project516 wants to merge 2 commits intoflybotix:mainfrom
Draft
Create ci that bundles python script into a single executable #1Project516 wants to merge 2 commits intoflybotix:mainfrom
Project516 wants to merge 2 commits intoflybotix:mainfrom
Conversation
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.
I am drafting it because I want your feedback on the additions.
This creates a workflow that builds the python scripts into a single executable. This is helpful, so pip, python, and venv can be time consuming to setup, so with this change one can just run the binary in the terminal, without the overhead of python and the project dependencies. It should function the same.
below is a summary of the workflow created
This pull request introduces a new GitHub Actions workflow for building and releasing binaries for multiple operating systems. The workflow automates building the project with PyInstaller for Linux, macOS, and Windows, and uploads the resulting binaries as artifacts. On tagged pushes, it creates a GitHub Release and attaches the built binaries.
CI/CD automation:
.github/workflows/build.ymlto automate building release binaries for Linux, macOS, and Windows using a matrix strategy and PyInstaller.v*) and manual dispatch, ensuring releases are only created for version tags or when manually triggered.softprops/action-gh-releaseaction to automatically create a GitHub Release and attach the built binaries for all platforms.