Skip to content
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

Automatic builds using Github Actions #1071

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Voker57
Copy link
Contributor

@Voker57 Voker57 commented Jan 24, 2025

This will build a mod archive from every commit to specified branch(es), and make a pre-release with file attached to it. You can see how it works here https://github.com/Voker57/wtp/releases/tag/development

Potential improvements:

  • A release is a >1GB file with most data unchanged. Nightingale suggested using some kind of incremental releases, this can be implemented if there's an agreement on how it should be done
  • Fastdep is not used because it doesn't work for some reason. It could theoretically speed up builds.

@Voker57 Voker57 force-pushed the develop branch 17 times, most recently from b0882b1 to 55a49b9 Compare January 30, 2025 13:46
@Voker57
Copy link
Contributor Author

Voker57 commented Jan 30, 2025

I have replaced the script hacks with use of environment variables to avoid asking for input. Incremental releases, after consideration, would require a rather complicated setup with questionable value, so this will be excluded from this PR. The request is ready to merge.

@Nightinggale
Copy link
Contributor

I'm not sure using compile.pl is the right move for this, but given that it reverts back to normal without specific environmental variables, I suppose it's doable. I will take a closer look at this when I get time to do so.

@Voker57 Voker57 force-pushed the develop branch 3 times, most recently from 6d22b46 to 00b204c Compare February 2, 2025 22:40
+ Create a pre-release from each commit, with downloadable mod build
* Modify build scripts not to ask for input if $NONINTERACTIVE is set
* Modify build scripts not to copy .dlls if $CI is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants