How do I build an image for testing?

HI!
I am trying to create a keyboard layout and wanted to test out if it would work.
Unfortunately I don’t have a developer board and I was trying to figure out how to build the image so I can virtualize it and test out stuff.
Help on building the image for a virtualized environment would be greatly appreciated.
I am on arch if that helps

Check out https://developer.puri.sm/Librem5/Development_Environment/Boards/qemu.html