[PATCH 3/3] ci: add support for running basic tests on kvx arch

Yann Sionneau ysionneau at kalrayinc.com
Mon Aug 12 07:41:50 PDT 2024


Signed-off-by: Yann Sionneau <ysionneau at kalrayinc.com>
---
 .github/workflows/test-labgrid-pytest.yml |  4 ++++
 test/kvx/qemu at generic_defconfig.yaml      | 18 ++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 test/kvx/qemu at generic_defconfig.yaml

diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
index 2e038e371f..f4ef1b3a00 100644
--- a/.github/workflows/test-labgrid-pytest.yml
+++ b/.github/workflows/test-labgrid-pytest.yml
@@ -23,6 +23,10 @@ jobs:
             lgenv: test/arm/multi_v8_defconfig.yaml
             defconfig: multi_v8_defconfig
 
+          - ARCH: kvx
+            lgenv: test/kvx/qemu at generic_defconfig.yaml
+            defconfig: generic_defconfig
+
           - ARCH: mips
             lgenv: test/mips/qemu-malta_defconfig.yaml
             defconfig: qemu-malta_defconfig
diff --git a/test/kvx/qemu at generic_defconfig.yaml b/test/kvx/qemu at generic_defconfig.yaml
new file mode 100644
index 0000000000..bc15afb632
--- /dev/null
+++ b/test/kvx/qemu at generic_defconfig.yaml
@@ -0,0 +1,18 @@
+targets:
+  main:
+    drivers:
+      QEMUDriver:
+        qemu_bin: qemu-system-kvx
+        machine: mppa-coolidge
+        cpu: kv3-1
+        memory: 2G
+        kernel: barebox
+        extra_args: !template "-dtb $LG_BUILDDIR/arch/kvx/dts/qemu.dtb"
+      BareboxDriver:
+        prompt: 'barebox:/ '
+        bootstring: 'commandline:'
+      BareboxTestStrategy: {}
+images:
+  barebox: !template "$LG_BUILDDIR/barebox"
+imports:
+  -  ../strategy.py
-- 
2.34.1








More information about the barebox mailing list