Skip to content

Commit fece15b

Browse files
committed
ci: add qemu tests to devices.json
Signed-off-by: Paul Spooren <mail@aparcar.org>
1 parent 063644d commit fece15b

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/snapshots.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
uses: actions/upload-artifact@v4
216216
if: always()
217217
with:
218-
name: report-${{ matrix.target }}
218+
name: results-qemu_${{ matrix.target }}
219219
path: ${{ matrix.target }}/*
220220

221221
- name: Upload allure results
@@ -250,6 +250,29 @@ jobs:
250250
cp openwrt-tests/contrib/index.html page/index.html
251251
echo '${{ needs.generate-matrix.outputs.matrix }}' > page/devices.json
252252
253+
# Add QEMU targets to devices.json
254+
qemu_targets='[
255+
{
256+
"device": "qemu-malta-be",
257+
"name": "QEMU Malta BE",
258+
"target": "malta-be",
259+
"firmware": "vmlinux-initramfs.elf"
260+
},
261+
{
262+
"device": "qemu-x86-64",
263+
"name": "QEMU x86-64",
264+
"target": "x86-64",
265+
"firmware": "generic-squashfs-combined.img.gz"
266+
},
267+
{
268+
"device": "qemu-armsr-armv8",
269+
"name": "QEMU ARMsr ARMv8",
270+
"target": "armsr-armv8",
271+
"firmware": "generic-initramfs-kernel.bin"
272+
}
273+
]'
274+
echo "$(jq ". + $qemu_targets" page/devices.json)" > page/devices.json
275+
253276
- name: Publish test report
254277
uses: peaceiris/actions-gh-pages@v4
255278
if: always()

0 commit comments

Comments
 (0)