[WIP] Add GitHub Actions workflow to build releases#183
Open
pR0Ps wants to merge 1 commit intoSnowyMouse:masterfrom
Open
[WIP] Add GitHub Actions workflow to build releases#183pR0Ps wants to merge 1 commit intoSnowyMouse:masterfrom
pR0Ps wants to merge 1 commit intoSnowyMouse:masterfrom
Conversation
Author
|
Currently there is an issue where @SnowyMouse I'll leave it up to you how you want to proceed with this. I've tried a bunch of things and couldn't figure out how to make it work. My hope is that this PR can serve as a starting point for someone more well-versed in building this project than me. Some options:
|
c8f972d to
7237737
Compare
Will automatically build and release versions when tags like 'x.x.x' are pushed. Can also be run manually to produce a build artifact. Note that the build is a bit hacky: - It uses the Ubuntu image provided by GitHub, but adds the Debian bullseye repo in order to get more recent packages. - It edits some of the files that `cmake` generates so that the host's `qt` system's `moc` and `rcc` build tools are used instead of the mingw-provided ones (which are win32 executables). - It builds and installs `pacman` so it can use it to download and install the required mingw packages.
2781369 to
6787860
Compare
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.
Will automatically build and release versions when tags like 'x.x.x' are pushed. Can also be run manually to produce a build artifact.
Note that the build process is a bit hacky:
cmakegenerates so that the host'sqtsystem'smocandrccbuild tools are used instead of the mingw-provided ones (which are win32 executables).pacmanso it can use it to download and install the required mingw packages.Links to results: