-
Notifications
You must be signed in to change notification settings - Fork 755
ci: move linux and macos to Github Actions #5087
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
Conversation
|
Perhaps the problem with Cirrus was that a hung test (which has been fixed since) used up all available time. |
Sure, but I still find it more valuable to be free from these limits in the first place, and to reduce further dependencies on other services outside of the (implied constant) Github.
Yes exactly, I can easily change the toolchain versions (or add more to the matrix) if desired by kakoune's maintainers. |
|
Looks like Cirrus works again. |
|
I'd like to revisit this as the same issue is occurring. Any comments on this, either an approval or rejection? |
Thanks for flagging this. I'd be happy to see this land. Can we use the same container images as for cirrus? i.e. clang 13 and gcc 10? |
But people contribute to kakoune on Github, and thus will mostly pay attention to (and will notice) the results of their PR CI runs on Github. This might be better for catching developer errors more quickly.
Why is this an important consideration? Since kakoune uses the latest c++ standard, IMO it would be beneficial to always be tracking the latest compilers, which my PR reflects. Additionally, developers are most likely to be running those compilers as well, since it uses out-of-the-box package manager versions. |
Yes, it's very true that github CI is much more accessible and familiar. (I have made the mistake of not looking at CI before submitting patches one
yes developers are expected to be running something more modern, but as I Today on IRC, a user reported this build failure on Debian: Perhaps they're on GCC 10 too. In fact, the Regarding explicit vs. implicit compiler version, I don't |
(Emphasis mine.) I agree with what you're saying about expecting the "lowest bound" compiler versions to work. However, the goal of this CI infrastructure is to track the master branch, which is by definition bleeding-edge. IMO, I'd personally want to be notified of as many pedantic issues as possible in the master branch of CI, so that when it comes time to tag a new release, that release will work on a wide range of compiler versions and will stay that way for a long time. It might be better to ensure that prior to tagging a release, the codebase builds and runs on that "lower bound" that we expect stable distros like debian to have. |
|
I try to keep Kakoune compiling on whatever debian stable compiler is, so ideally that would be the version that is tested. This is already tested by the sourcehut build (which uses debian images) so we are covered on that front. It would be nice to see breakage on github pull requests before merging, but to be honest I do not often check the CI for PRs, and AFAIR its pretty rare that we break the debian stable build. |
This change replaces Cirrus CI tasks for linux and macos with Github Actions equivalents.
Github actions doesn't seem to have a "compute credits" or similar restriction for public instances. Since kakoune is mainly hosted on github, it's also really well integrated with the pull request flow.
See https://github.com/svmhdvn/kakoune/actions/runs/7578698028 for a successful run.