-
Notifications
You must be signed in to change notification settings - Fork 28
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
Handle test builds & releases via Travis CI, Publish proper debug builds for Win(XP,7+) and macOS on AppVeyor #200
Conversation
Added the manually fetched Qt5 components' directories to the cache - the build speed-up is minimal, but it should come in handy in case the Qt5 download page acts flakey again. Side note: I noticed Travis CI is looking to deprecate the .org domain and move everything to travis-ci.com, along with afew other changes. Maybe you should look into that. |
7ae69e6
to
1ee9f9f
Compare
I added debug builds from These are unstripped builds, so they're alot larger than release ones, but they should include debug symbols and the Windows builds are configured to open a console window to write their output to. Additionally, they require a GitHub account to download from the Actions page, compared to the freely accessibly artifacts on AppVeyor. I have no strong preference for either though, so if that's a deal-breaker to you I can look into improving the AppVeyor setup with the debug settings and adding a macOS target instead. What still needs changing are the deployment details in Besides that, I think this PR should be ready for now. Let me know what you think, if you see room for improvements somewhere or if there's something you don't like about the proposed changes. |
Oh, I forgot to mention it but I tested all release & debug builds for Windows XP and modern Windows and they launched fine. I'm unsure about & unable to test the macOS builds (to which I added JACK support while I was at it) though, maybe you can test them? |
Thanks for setting up travis, I can't work on macOS for a while, but I'll check them.
There are many people who use dev-build on twitter as for as I look, those does not have a Github account, so I think it's better to publish artifacts on Appveyor. (also need to change Appveyor settings for macOS as you say)
I moved this repository to travis-ci.com, thanks for your information! |
d8d26dd
to
1adb773
Compare
(Hopefully) Done, see the queued AppVeyor build. The AppVeyor configuration file could prolly be done abit better, but it should work well enough for now.
Done². Let me know if this looks fine to you and I'll clean up the commit history abit before it's merged. |
# Fixes AppVeyor build erroring out...? | ||
echo "=== BUILDING DONE ===" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why, but this echo
here keeps the build from getting stuck without log output after mingw32-make
and miraculously erroring out. (Example here.) Maybe AppVeyor thinks it got stuck, or PowerShell does something weird, I don't know.
362e277
to
c615c98
Compare
c615c98
to
5d95ddd
Compare
Checks should succeed once #221 is merged. With MSVC now being a concern, I'll look into adding a build test for MSVC if this PR is still open when I have more time again. |
5d95ddd
to
cd75aed
Compare
Forgot some debugging settings and a leftover from testing the other PR, apologies for the extra noise. |
I tested them on MacBook (macOS Mojave, 10.14.6) and they works well as far as I tested.
MSVC is used for build testing, but not used for deploy. (Please let me know if your idea is different from this.) Since the deploy method is also changed in this PR, it may be better to work on another PR (or issue) if you implement only the test. I've received your report and #223, that the build doesn't work well on old macOS. These reports are probably not a build method issue (maybe #223), so would you mind me merging this PR? |
I gave expanding Travis CI with a MSVC build a shot afew days ago, didn't work out well. Requires setting up the VS stuff in the system shell with a Batch script, didn't manage to figure out anything that worked.
Please do, I'll rebase it one more time to hopefully get CI all green and happy. |
cd75aed
to
0391457
Compare
All green, feel free to merge. 👍 |
Thanks for your great contributions! |
I happen to notice, the artifacts in the appveyor are bigger than those created with the previous settings. I recognize that this is because the build is created in debug mode by |
Development builds being compiled and optimised as I'm unsure what exactly the implications of |
Well understand, thank you! |
I figured it'd help to handle all releases via (one) CI, so I spent afew days tinkering with Travis CI and came up with this.
This is still a draft, I plan to either replace the development builds on AppVeyor with Windows & macOS debug builds via GitHub Actions or expand on the AppVeyor configuration with a macOS one next - I haven't decided yet what'd make the most sense.
Additionally, during my testing, the Qt fetching part on the Windows builder sometimes fails due to the Qt downloads page seemingly having networking problems. I think caching the fetched & configured Qt builds might help with working around such problems, though I have yet to dive into that.
Sharing this here for feedback & opinions, maybe help with the cache if anyone's feeling lucky.
The working Travis CI jobs + deployment, as of now, can be seen in action here:
https://travis-ci.com/github/OPNA2608/BambooTracker/builds/158645985
And releases page, to showcase the deployment here:
https://github.com/OPNA2608/BambooTracker/releases/tag/v0.4.2