Testing using TuxSuite to build the Linux kernel with LLVM under CI.
All test parameters are encoded in the files within generator/yml
; new trees, architectures, configs, etc. should be added there. See the maintainer documentation for more information.
The tuxsuite and github actions workflow configs should be updated when the files in generator/yml
change. Ex.
$ generator/generate.py next
The generator/generate.py
script will run this for you based on the trees that are fed to it. Ex.
# Generate just next and mainline TuxSuite and GitHub Action workflows
$ generator/generate.py next mainline
# Regenerate all of the current TuxSuite and GitHub Action workflows
$ generator/generate.py
The CI the child workflows run can be rerun locally via:
$ ARCH=arm CONFIG=defconfig LLVM_VERSION=[12|11] [BOOT=0] scripts/check-logs.py
where:
ARCH
andCONFIG
are canonical names from the Linux kernel sources, but should be listed ingenerator/yml
'sarchitectures
andconfigs
files.LLVM_VERSION
is which version of LLVM to test.BOOT=0
can be specified to skip the boot test (for instance, when boot failure is expected).
Requires that a TuxSuite secret token is configured.