liburing
liburing copied to clipboard
[GIT PULL] ci: run tests as part of GitHub actions matrix
Added support for github to run liburing unit tests as part of CI actions matrix.
Signed-off-by: Jon Kohler [email protected]
Problems with this:
- liburing needs a kernel from Jens' tree to pass 100% of the tests. Not always from Jens' tree, but the latest kernel at least, since new features, bug fixes, etc. are directly tested with the liburing test suite. We can't change the GitHub CI kernel, so it won't work.
- GitHub CI only runs x86-64 arch.
Beat me to punch, was just typing this up.
I wanted to bring this up as a "it would be nice to do this", but we won't be able to merge this as-is, as unit tests do not work in the matrix just merged on #535 as the builders themselves are not ARM.
The other builders should work though, but have unit test failures left right, and center because of the kernel age as noted.
I'm going to create an issue with the GitHub Actions team to see what we could do about this, as a general statement, it would be good to have actions have an option to use Ubuntu 21.10, which does have a newer kernel.
Also, I think I can change this around such that the tests will run, but not explicitly fail the build/check. That way, we can at least "have them run" so that there is a point in time record of them being ran on every change coming through the project :)
Filed proposal to get an ubuntu-tip option in GitHub actions: https://github.com/actions/virtual-environments/issues/5122
@axboe close this.