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
709 stars 109 forks source link

ci: Add riscv #442

Closed SimonKagstrom closed 1 month ago

SimonKagstrom commented 1 month ago

@williamdes your work for dockerhub made me remember this branch I had laying around. It had a lot of other changes to run tests as well, but those doesn't work anyway. So now it's just adding riscv to the github ci.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.31%. Comparing base (0b06d00) to head (3a987b0). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #442 +/- ## ======================================= Coverage 65.31% 65.31% ======================================= Files 58 58 Lines 4541 4541 Branches 4198 4198 ======================================= Hits 2966 2966 Misses 1575 1575 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

SimonKagstrom commented 1 month ago

Sorry, merged before I had read the comment :-/

I guess it has to be known as a 62 bit CPU in kcov!

Anyway, this is not for the docker builds, so only to verify that it's possible to build in general.

williamdes commented 1 month ago

Sorry, merged before I had read the comment :-/

I guess it has to be known as a 62 bit CPU in kcov!

Anyway, this is not for the docker builds, so only to verify that it's possible to build in general.

Yup, that's all good Nice we have a check for it

williamdes commented 1 month ago

Can you add a musl VM? (Alpine)

SimonKagstrom commented 1 month ago

Can you add a musl VM? (Alpine)

Not quite sure how to do that? You mean for the github actions as a build job? With some googling, this turned up, https://github.com/jirutka/setup-alpine, maybe something like that?

williamdes commented 1 month ago

Can you add a musl VM? (Alpine)

Not quite sure how to do that? You mean for the github actions as a build job? With some googling, this turned up, https://github.com/jirutka/setup-alpine, maybe something like that?

It definitely looks like the way to do this ! 😲

Another way is to set the image in a pure Docker way

    job-name:
        container:
            image: alpine:3.20
        runs-on: ubuntu-latest
        steps:
            - name: Checkout repository