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)
Fri, Jul 5, 6:36 PM
Unknown Object (File)
Thu, Jul 4, 4:50 AM
Unknown Object (File)
Tue, Jul 2, 2:16 AM
Unknown Object (File)
Sat, Jun 29, 12:25 AM
Unknown Object (File)
Thu, Jun 27, 9:44 AM
Unknown Object (File)
Wed, Jun 26, 7:17 PM
Unknown Object (File)
May 11 2024, 1:18 AM
Unknown Object (File)
May 11 2024, 12:39 AM
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.