Commit bff5080
committed
ci: add build test targets
In order to unify a github actions per *any* workflow, add a proof
of concept implementation to allow target CI trees to recognize the
required steps they need for 1) build and 2) test) so we can just
use a runner to issue these commands regardless of what tree we are
using:
make ci-build-test
make ci-test
If you have a repo which has a respective target CI set up then
you can just run 'make help' and it will list the commands for each.
For example if you use the linux-modules-kpd tree with something
like this:
make LINUX_TREE=https://github.com/linux-kdevops/linux-modules-kpd \
LINUX_TREE_REF=968c2b7cdd6375df4ad08166536a376f64560aa5 \
defconfig-linux-modules-kpd
make help
...
kdevops built-in CI build tests for linux-modules-kpd:
ci-build-test - Git clones a linux git tree, build Linux, installs and reboots into it
make selftests
kdevops built-in run time tests for linux-modules-kpd:
ci-test - Git clones a linux git tree, build Linux, installs and reboots into it
make selftests-baseline
If your configured tree has none of these files this target is not
allowed. So this is a no-op for trees used which don't have a CI yet
setup.
Signed-off-by: Luis Chamberlain <[email protected]>1 parent a400440 commit bff5080
File tree
4 files changed
+55
-0
lines changed- .ci
- build-test
- test
- scripts
4 files changed
+55
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments