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

Add GitHub Actions CI #733

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

bjosv
Copy link

@bjosv bjosv commented Jan 18, 2024

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 ?

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.
@bjosv
Copy link
Author

bjosv commented Jan 24, 2024

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.

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
@bjosv
Copy link
Author

bjosv commented Jan 30, 2024

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

@jschlyter
Copy link
Member

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

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

Successfully merging this pull request may close these issues.

3 participants