opendnssec / SoftHSMv2

SoftHSM version 2
http://www.softhsm.org/
Other
767 stars 339 forks source link

Add GitHub Actions CI #733

Open bjosv opened 8 months ago

bjosv commented 8 months ago

Since Travis CI is no longer free as before, and there are issues with AppVeyor we currently don't have a working CI. This PR adds a basic CI run which build and run tests for both crypto backends on Linux, Mac and Windows.

An example run: https://github.com/Nordix/SoftHSMv2/actions/runs/7718456304 The failed botan run is related to #724

Windows vcpkg's are cached for faster builds, but there are a lot of other improvements that could be done to this CI. Examples are running sanitizers/valgrind/Coverity on Linux or using later OpenSSL version.

In general we would like to support this project, and adding a CI which can indicate existing issues is a start. WDYT @halderen @rijswijk @jschlyter ?

bjosv commented 8 months ago

If accepted I can update this PR with a build status badge on the README.md, and maybe remove the Travis configs/files since it is not used anymore.

bjosv commented 8 months ago

Added so we also build and run tests on Mac/OSX which is supported according to OSX-NOTES.md.

jschlyter commented 8 months ago

I believe this would be a great update to the CI workflow.