Skip to content

riscv: Extend CI

Andrew Jones kvm kvm-riscv 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- *Actually* test out-of-tree builds in the rv32 CI (I was missing a few important lines, like 'cd build'...
- Add another patch to fix out-of-tree builds for riscv
- Added some indentation in the new limits.h

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib: Add limits.hlib/limits.h+43 -00 replies
2/4riscv: Build with explicit ABIriscv/Makefile+6 -40 replies
3/4riscv: Fix out-of-tree buildsconfigure riscv/Makefile+7 -30 replies
4/4riscv: Extend gitlab CI.gitlab-ci.yml+31 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/4] riscv: Extend CI

So far we were only building and testing 64-bit, non-efi in the CI for riscv. I had mistakenly thought Fedora's riscv compiler could only build 64-bit, but it's multilib so we just need to add some CFLAGS to get it to work. To preserve building with a 32-bit-only riscv compiler we need to introduce limits.h to our tiny libc. And, while adding 32-bit builds to CI we also add EFI builds so now we test 32-bit, 64-bit, and 64-bit EFI. And, since Fedora has been udpated, bringing in a later QEMU, we can now do the testing with the 'max' cpu type.

v2:
- *Actually* test out-of-tree builds in the rv32 CI (I was missing a few important lines, like 'cd build'...
- Add another patch to fix out-of-tree builds for riscv
- Added some indentation in the new limits.h

Andrew Jones (4):
lib: Add limits.h
riscv: Build with explicit ABI
riscv: Fix out-of-tree builds
riscv: Extend gitlab CI

 .gitlab-ci.yml | 36 +++++++++++++++++++++++++++++++-----
 configure      |  8 ++++++--
 lib/limits.h   | 43 +++++++++++++++++++++++++++++++++++++++++++
 riscv/Makefile | 12 +++++++-----
 4 files changed, 87 insertions(+), 12 deletions(-)
 create mode 100644 lib/limits.h
Signature · 1 line
2.45.2