SimonKagstrom / kcov

Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
http://simonkagstrom.github.io/kcov/
GNU General Public License v2.0
720 stars 110 forks source link

continuous integration: Move to (or try) github actions #345

Closed SimonKagstrom closed 3 years ago

SimonKagstrom commented 3 years ago

Would perhaps indirectly solve #344, assuming it's easier to setup with github actions.

It might also be possible to run CI tests on FreeBSD then, via https://github.com/marketplace/actions/freebsd-vm.

Todo:

Coveralls now handled in #346. Unit tests postponed until #348.

rollbear commented 3 years ago

FWIW, i just began making the move, and got Apple/Clang building just minutes ago. My setup is unnecessarily complex, a nice one is available here: https://github.com/Dobiasd/FunctionalPlus/blob/master/.github/workflows/ci.yml

Mine, should you want to look, is here: https://github.com/rollbear/trompeloeil/tree/try_github_actions/.github/workflows

SimonKagstrom commented 3 years ago

Yes, I saw that. That's actually the direct reason for creating this issue, don't want to be left out of the in-crowd :-)

Thanks for the example! I looked at your config first, but as you say it seems complex :-)

rollbear commented 3 years ago

I'm working on gradually removing complications while also adding functionality. It may become useful as a template some time in the future, but currently it's messy.

Let me know when you're reporting coverage to coveralls.io ;-)

SimonKagstrom commented 3 years ago

Actually, @l3laze added support for github actions before, so I guess the work left to do is to add the testsuite and FreeBSD and then publish coverage etc via that path.

I'll admit I forgot about that, being ignorant about github actions until @rollbear started using it :-)