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

Implement better CI checks #734

Open
Lomanic opened this issue Aug 1, 2019 · 7 comments
Open

Implement better CI checks #734

Lomanic opened this issue Aug 1, 2019 · 7 comments
Labels

Comments

@Lomanic
Copy link
Collaborator

Lomanic commented Aug 1, 2019

Linked to #733

We currently use CircleCI for gopsutil CI. As far as I can see it doesn't run for our PRs, it looks like we should enable this option which is disabled by default
https://circleci.com/docs/2.0/oss/#build-pull-requests-from-forked-repositories

We should maybe also contact CircleCI to have macOS builders (see here) for free.

As I'm not even admin of the github repo I won't be able to do this, could you @shirou?

I'm also thinking about using Gitlab CI as I'm very familiar with it at work (as I administrate our own self-hosted Gitlab and runners), using their hosted instance at gitlab.com. We could even use our own runners on more platforms than what is proposed for free by CircleCI.

@shirou
Copy link
Owner

shirou commented Aug 1, 2019

sorry for not say that but yesterday I have enabled that setting.

image

or, if you are familiar with Gitlab CI, it is fine to migrate to it for me.

@Lomanic
Copy link
Collaborator Author

Lomanic commented Aug 1, 2019

Thanks for setting this. We will see next time a PR is created.

We could have both Gitlab and Circle CIs by the way. I'm leaving this issue open for the GitlabCI part.

@Lomanic
Copy link
Collaborator Author

Lomanic commented Aug 1, 2019

I confirm CircleCI ran tests in #735, excellent! 👏.

For the GitlabCI part, I now remember I won't be able to add it if I'm not Owner of the repo unfortunately.

@Lomanic
Copy link
Collaborator Author

Lomanic commented Aug 18, 2019

I think these checks are sufficient for now, it already checks that it compiles on all platforms. I will probably implement a go-fmt check though and will close this afterwards.

@Lomanic
Copy link
Collaborator Author

Lomanic commented Aug 20, 2019

Test https://staticcheck.io/docs/ also maybe

@Lomanic
Copy link
Collaborator Author

Lomanic commented Dec 12, 2019

https://cirrus-ci.org/features/

To support Open Source community Cirrus CI provides Linux, Windows, macOS and FreeBSD services free of charge.

To be tested.

I'm also curious about builds.sr.ht, which has 1st class support for various BSDs https://man.sr.ht/tutorials/builds.sr.ht/github-integration.md

@shirou
Copy link
Owner

shirou commented Dec 21, 2019

Thank you for the info!

I have tested Github actions which has Linux/Darwin/Windows support on #805 but no luck...

So I have installed cirrus-ci and start building #806 but not successes yet. I will continue on next time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants