Add GitHub Actions workflow for automated releases and binary builds - #25
Open
marvin1099 wants to merge 1 commit into
Open
Add GitHub Actions workflow for automated releases and binary builds#25marvin1099 wants to merge 1 commit into
marvin1099 wants to merge 1 commit into
Conversation
- Add GitHub Actions workflow (.github/workflows/compile-and-release.yml) to build and release NordVPN-GUI on tag pushes and manual triggers - Add bin-installer.py: PyInstaller-based build script with venv setup, dependency installation, and app installation logic - Add binreqs.py for runtime dependency checks - Update requirements.txt with pinned dependency versions - Update .gitignore for build artifacts and cache The GitHub Actions build uses xvfb to provide a virtual X display for Kivy's PyInstaller hook, which tries to initialize an X11 window during module analysis. Builds include retry logic for reliability.
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.
This PR adds a GitHub Actions workflow that automatically builds the project and publishes a release containing the compiled NordVPN-GUI binary.
In detail added:
This removes the need to build and package releases manually.
This is why:
I originally created this to make the repository easier to maintain and to ensure users can always download a prebuilt binary without compiling the project themselves.
I know that NordVPN now provides an official open-source Linux GUI as part of the NordSecurity/nordvpn-linux repository, so this project is no longer the primary option for Linux users.
That said, I still think it's valuable to keep this repository in a working state. It can serve as a useful reference implementation, preserve the project's history, and remain available for anyone interested in the original approach.
If this repository continues to exist, having an automated build and release pipeline makes maintenance much easier.
This release was auto generated as example:
https://github.com/marvin1099/NordVpnLinuxGUI/releases/tag/v1.0.5
By default releases have
Title: Release $TAGNAME
Body: Compiled binary for NordVPN-GUI.
In the example i changed Title and Body manually but the binary was generated.