Avoid VirtualBox and becoming trapped in the non-free & personal use only extension by using one of the very decent open source alternatives Boxes[1] or virt-manager[2] [1] https://wiki.gnome.org/action/show/Apps/Boxes [2] https://virt-manager.org/
I use Virtualbox to compile CI artifacts for Ubuntu, Debian, OSX (homebrew), and Windows (msys2) by using the virtualbox executor of gitlab.
The other available gitlab-runner executors to build these artifacts cross-flatform are: virtualbox, parallels, docker, kubernetes.
Boxes and virt-manager aren't on that list, so they are out.
Parallels isn't FLOSS.
Can I use docker or kubernetes to build my desired artifacts?