-
Notifications
You must be signed in to change notification settings - Fork 345
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
Add GitHub Actions CI #733
Conversation
Build and run tests for both crypto backends on Linux, and currently just build without tests on Windows.
Fixed CMake issues to be able to build tests on Windows, and added a test step to Github Actions CI.
If accepted I can update this PR with a build status badge on the README.md, |
Build and run tests for both crypto backends on macOS in CI. Mac/OS X is supported since it is documented in OSX-NOTES.md
Added so we also build and run tests on Mac/OSX which is supported according to OSX-NOTES.md. |
I believe this would be a great update to the CI workflow. |
Can you refresh this PR and I'll merge it. |
Could I suggest building against latest OpenSSL 1.1.1 version, which is 1.1.1w ? |
Let's start with the current setup on pure Ubuntu 20.04 and take it from there. I'd be happy to merge updates for various OpenSSL version later (and we need to once support for OpenSSL 3.x is merged). |
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 ?