-
Notifications
You must be signed in to change notification settings - Fork 134
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
Test with GitHub Actions #270
Comments
The tests being run on patches reaching the list were very useful. Specially the one checking that the patch applied. Would that be still possible ?
@fbarrat has given GitHub Actions a try : https://github.com/fbarrat/skiboot/actions/runs/1399852239 Looks good.
yes. Latest compilers should be checked. Is there a minimum version requirement ?
QEMU has a PowerNV machine acceptance test we could use : It's upstream (P10 is not but there are other QEMU trees) We could add a few other tests with a more complex topology may be ? @fbarrat ?
P8 is old. P9 is from 2019 and P10 from 2021. They should be fine.
Could we compile some of the tools for ARM ?
Coverity.
I think this is good enough for a start. |
Up and running from @fbarrat: 89156c0 snowpatch is now running with what's in the master branch: https://patchwork.ozlabs.org/project/skiboot/patch/20210908183901.3773783-2-grimm@linux.ibm.com/ Nothing else recent on the list still applies as-is but it should be useful for anything new coming in. |
I used to run the snowpatch tests for skiboot that showed up on https://patchwork.ozlabs.org/project/skiboot/list/ - these were triggered through a Jenkins server on openpower.xyz that no longer exists (the domain and the server are both gone). I rewrote snowpatch to use GitHub Actions instead, and that's what's being used for linuxppc-dev and pdbg currently.
We should write some workflows for GitHub Actions that can be run on every commit to this repo, can be used by developers if they fork on GitHub during development, and consumed by snowpatch to be run on every series on the list & published to Patchwork. If this is wanted, I would think the best way to go would be for me to start using them in my skiboot repo for snowpatch use and then send the workflows upstream once they're stable.
So what would we want to test?
make
/make check
on a few different distros with different toolchainsI'm assuming https://github.com/open-power/op-build/releases/ is the best thing to use for petitboot/kernel.
extra stuff:
external/
that only trigger when there's commits touching themAnything else we might want?
--
Some references:
make check
with qemu https://github.com/ajdlinux/openpower.xyz-snowpatch/blob/master/skiboot-build.shThe text was updated successfully, but these errors were encountered: