-
Notifications
You must be signed in to change notification settings - Fork 175
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
Set up continous integration #81
Comments
I've heard (don't exactly remember where) that for a free CI solution, GitHub Actions is compatible with Travis and should be used for newer projects. For a paid solution, we can do anything that GCP supports. |
Explanation of labels: "R-needs-more-info" is a resolution for closed issues. Maybe we should have a similar label for open issues, like "discuss". For the type, I think "T-core" is most appropriate here, since CI is a core feature of the project. |
I've never used github actions, but would be open to! @echeran do you want to try setting this up? |
Yeah, let's try out Travis for starters. It seems like an easy and prevalent solution for open source, and may integrate with fancier things like Coveralls like you were mentioning. We can iterate from there. |
Here's where Node.js moved from Travis to GitHub Actions: A quick Google search finds a number of other people jumping on this bandwagon: https://www.google.com/search?q=travis+vs+github+actions The original motivation is that Travis CI was acquired, and there was speculation that the new owners intend to "milk" Travis CI and discontinue feature development. Here is a discussion on this subject and the new owner's official response to that speculation: https://travis-ci.community/t/after-idera-future-development-and-support-plans/2474 |
To be clear, I have no strong opinion between Travis CI and GitHub Actions. I like Travis CI and would be okay if we used it. I'm just providing some context of a trend I've seen. |
I have nothing against travis. (i.e. no reason not to use it.) In fact, it's what I use extensively internally, and I did a lot of the tooling for setting up icu and cldr's travis config. The travis-ci.org can get backed up and take a while to start queues, but I think that's a lot better than it used to be. Github actions have some advantages, I think:
OTOH if, say, fluent-rs is already using travis, there may be some advantage to getting up and running copying what's already been setup. https://github.com/projectfluent/fluent-rs/blob/master/.travis.yml looks nicely done. So I'd say: I'd lean towards actions, but in the end go for expediency. If @zbraniecki is implementing and wants to use travis, no reason not to one thing to consider is how the monorepo structure will look with the build. Just have a list of components and build them? Have a parallel build? I don't know what build times look like here. |
Hmm, in that case, maybe this is a good opportunity to try out Github Actions, seeing that the fluent-rs Travis config exists as a good backup option in the worst case. I can try this out on my personal fork. In the meantime, do we need CI set up for the main ICU4X right now? If so, we can use the Travis setup for expediency to have something going for now. Otherwise, we can wait a little. |
This is a good writeup (Travis to Actions) -
https://markphelps.me/2019/09/migrating-from-travis-to-github-actions/
уто, 12. мај 2020. у 11:45 Elango <[email protected]> је написао/ла:
… Hmm, in that case, maybe this is a good opportunity to try out Github
Actions, seeing that the fluent-rs Travis config exists as a good backup
option in the worst case. I can try this out on my personal fork.
In the meantime, do we need CI set up for the main ICU4X right now? If so,
we can use the Travis setup for expediency to have something going for now.
Otherwise, we can wait a little.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7GEKWGKIA3VTSEVBLGWU3RRGKMFANCNFSM4M4RFTGQ>
.
|
Yeah, I'm down to try github actions. Let me try to set them up today for my personal fork and if that works, I'll file a PR here. |
For travis I just have one file per monorepo, see https://github.com/zbraniecki/unic-locale/blob/master/.travis.yml |
@zbraniecki take a look at my WIP in #83 as a starting point for your exploration, lmk what you think |
The way I run CI for my projects is via Travis.
I have an account there, connected my project to it and set up a
.travis.yml
file.Here's the view of
fluent-rs
CI: https://travis-ci.org/github/projectfluent/fluent-rsI'm not sure what other options exist beyond Travis and if we want to use it. @echeran ?
The text was updated successfully, but these errors were encountered: