-
Notifications
You must be signed in to change notification settings - Fork 80
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
Use Github releases #850
Comments
you still need to create the binaries by yourself, so it wont help on that problem? |
How do you mean that? Travis and appveyor create binaries and test them. They can also upload them to Github. So as long as the stuff compiles on travis there is no problem. And as travis supports OSX native compiling we don't have to fiddle with the cross-compiler. |
Is there an automatic way to remove those nightlies after some time? |
Yes, kinda. The API of Github releases allows to query all releases, edit and delete them. We could ad this as a separate step: Query all releases, then delete all but the most recent 50(?) nightlies |
I did create a test repo to try this. The result is this: https://github.com/Flamefire/release-tests/releases It uses git stages and a python script for creating the release: https://github.com/j0057/github-release The workflow is as follows:
Each has its own stage, so if any run in any stage fails, no others will be run. Problems:
Again big advantage: Native builds -> no hassle with cross-compiling and keeping the software up to date |
Windows/Appveyor now works too: https://github.com/Flamefire/release-tests/releases/tag/Nightly-20181014-f4956f0 |
The github releases API seems to be pretty good by now. How about using it?
We can create releases for each tag and/or for each commit. This would solve the problem with the outdated compilers and libraries and e.g. getting the OSX cross-compiler to work.
Even nightly builds will work: See https://github.com/OoliteProject/nightlies/releases for an example.
Downsides:
Some more resources:
The text was updated successfully, but these errors were encountered: