mirror_zfs/.github/workflows/scripts
Tony Hutter 640a217faf
CI: Test & fix Linux ZFS built-in build
ZFS can be built directly into the Linux kernel.  Add a test build
of this to the CI to verify it works.  The test build is only enabled
on Fedora runners (since they run the newest kernels) and is done in
parallel with ZTS.  The test build is done on vm2, since it typically
finishes ~15min before vm1 and thus has time to spare.

In addition:

- Update 'copy-builtin' to check that $1 is a directory
- Fix some VERIFYs that were causing the built-in build to fail

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #18234
2026-02-19 10:15:41 -08:00
..
generate-ci-type.py CI: Update FreeBSD versions and ci-type handling 2025-11-05 09:56:17 -08:00
merge_summary.awk ZTS: Use QEMU for tests on Linux and FreeBSD 2024-09-17 12:03:27 -07:00
qemu-1-setup.sh CI: Fix qemu-1-setup failure, remove debug stuff 2026-01-31 12:40:55 -08:00
qemu-2-start.sh CI: Add Alpine Linux 3.23 runner to the pipeline (#18087) 2025-12-30 09:29:48 -08:00
qemu-3-deps-vm.sh CI: Test build Lustre against ZFS 2026-02-10 09:54:17 -08:00
qemu-3-deps.sh runners: Add option to install custom kernel on Fedora 2025-05-13 14:43:35 -07:00
qemu-4-build-vm.sh During CI, use nproc instead of sysctl -n hw.ncpu 2025-12-04 16:57:15 -08:00
qemu-4-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:19:56 -08:00
qemu-5-setup.sh CI: Add Alpine Linux 3.23 runner to the pipeline (#18087) 2025-12-30 09:29:48 -08:00
qemu-6-lustre-tests-vm.sh CI: Test build Lustre against ZFS 2026-02-10 09:54:17 -08:00
qemu-6-tests.sh CI: Test & fix Linux ZFS built-in build 2026-02-19 10:15:41 -08:00
qemu-7-prepare.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-04-29 15:27:47 -04:00
qemu-8-summary.sh CI: Test & fix Linux ZFS built-in build 2026-02-19 10:15:41 -08:00
qemu-9-summary-page.sh ZTS: Fix summary page creation again - second try 2024-10-06 14:32:08 -07:00
qemu-prepare-for-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:19:56 -08:00
qemu-test-repo-vm.sh CI: Test 2.4.x in qemu-test-repo-vm.sh, quick mode 2025-12-19 19:57:19 -08:00
qemu-wait-for-vm.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:19:56 -08:00
README.md ZTS: Use QEMU for tests on Linux and FreeBSD 2024-09-17 12:03:27 -07:00
replace-dupes-with-symlinks.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:19:56 -08:00

Workflow for each operating system:

  • install qemu on the github runner
  • download current cloud image of operating system
  • start and init that image via cloud-init
  • install dependencies and poweroff system
  • start system and build openzfs and then poweroff again
  • clone build system and start 2 instances of it
  • run functional testings and complete in around 3h
  • when tests are done, do some logfile preparing
  • show detailed results for each system
  • in the end, generate the job summary

/TR 14.09.2024