Description
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 toolchains- qemu powernv boots with P8/P9/P10? models
- mambo boots (dunno how well this would go for P8/P9 yet because the distro packages here http://public.dhe.ibm.com/software/server/powerfuncsim/ are pretty old)
I'm assuming https://github.com/open-power/op-build/releases/ is the best thing to use for petitboot/kernel.
extra stuff:
- basic tests for stuff in
external/
that only trigger when there's commits touching them - static analysis of some sort?
Anything else we might want?
--
Some references:
- snowpatch https://github.com/ruscur/snowpatch/tree/rewrite
- simplest possible workflow (pdbg) https://github.com/ruscur/pdbg/blob/master/.github/workflows/build.yml
- linuxppc-dev with smart sparse diff + code annotations https://patchwork.ozlabs.org/project/linuxppc-dev/patch/[email protected]/
- previous skiboot job on Jenkins that just did
make check
with qemu https://github.com/ajdlinux/openpower.xyz-snowpatch/blob/master/skiboot-build.sh - linuxppc documentation on simple GitHub Actions usage for developers https://github.com/linuxppc/wiki/wiki/Testing-with-GitHub-Actions
Activity