Page MenuHomeFreeBSD

Add Cirrus-CI CI build and QEMU boot test
ClosedPublic

Authored by emaste on Mar 20 2019, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 9:45 AM
Unknown Object (File)
Wed, Oct 1, 6:56 PM
Unknown Object (File)
Fri, Sep 19, 9:34 AM
Unknown Object (File)
Thu, Sep 18, 1:07 PM
Unknown Object (File)
Sep 10 2025, 1:18 PM
Unknown Object (File)
Aug 26 2025, 9:36 AM
Unknown Object (File)
Jul 11 2025, 5:18 AM
Unknown Object (File)
Jun 30 2025, 1:58 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste added inline comments.
.cirrus.yml
13 ↗(On Diff #55290)

Need to find a better place to get this from. Work is underway to include it with QEMU but that's not yet ready.

Install normal (dynamically linked) /bin/sh, /sbin/shutdown, and /sbin/init and use those instead of rescue, for a rtld and libc smoke test.

@imp pointed out on IRC that we already have some similar scripts in tools/boot, at a minimum will move the script there. Perhaps there is an opportunity to share some parts.

You might want to take a look at tools/boot/rootgen.sh. It's as shell script I use to generate about 24 or 32 different images to test all the different ways you can boot. It also generates a bunch of different scripts to do the qemu testing that likely could be leveraged to provide more complete qemu coverage testing.

This revision is now accepted and ready to land.Mar 21 2019, 1:31 PM

I'm testing how much time saved by using -DNO_CLEAN and using tmpfs on /usr/obj.

This revision was automatically updated to reflect the committed changes.