mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 08:17:40 -04:00
ci: Add Cirrus CI configuration for FreeBSD testing
Add FreeBSD test coverage with builds on FreeBSD 13.5 and 14.3 using both make and meson build systems. Generated-by: Claude Code 1.0.65 (claude-sonnet-4@20250514) Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
04f948e83f
commit
617f3d9b60
1 changed files with 39 additions and 0 deletions
39
.cirrus.yml
Normal file
39
.cirrus.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# FreeBSD build with multiple versions
|
||||||
|
freebsd_versions_task:
|
||||||
|
name: FreeBSD $FREEBSD_VERSION make build
|
||||||
|
freebsd_instance:
|
||||||
|
image_family: $FREEBSD_IMAGE
|
||||||
|
matrix:
|
||||||
|
- env:
|
||||||
|
FREEBSD_VERSION: "13.5"
|
||||||
|
FREEBSD_IMAGE: freebsd-13-5
|
||||||
|
- env:
|
||||||
|
FREEBSD_VERSION: "14.3"
|
||||||
|
FREEBSD_IMAGE: freebsd-14-3
|
||||||
|
install_script:
|
||||||
|
- pkg install -y git gmake flex bison python3 py312-setuptools swig libyaml pkgconf
|
||||||
|
build_script:
|
||||||
|
- gmake
|
||||||
|
check_script:
|
||||||
|
- gmake check
|
||||||
|
|
||||||
|
# FreeBSD meson builds with multiple versions
|
||||||
|
freebsd_meson_versions_task:
|
||||||
|
name: FreeBSD $FREEBSD_VERSION meson build
|
||||||
|
freebsd_instance:
|
||||||
|
image_family: $FREEBSD_IMAGE
|
||||||
|
matrix:
|
||||||
|
- env:
|
||||||
|
FREEBSD_VERSION: "13.5"
|
||||||
|
FREEBSD_IMAGE: freebsd-13-5
|
||||||
|
- env:
|
||||||
|
FREEBSD_VERSION: "14.3"
|
||||||
|
FREEBSD_IMAGE: freebsd-14-3
|
||||||
|
install_script:
|
||||||
|
- pkg install -y git meson ninja flex bison python3 py312-setuptools swig libyaml pkgconf
|
||||||
|
setup_script:
|
||||||
|
- meson setup -D python=enabled -D yaml=enabled build
|
||||||
|
build_script:
|
||||||
|
- meson compile -C build
|
||||||
|
test_script:
|
||||||
|
- if ! meson test -C build; then cat build/meson-logs/testlog.txt; false; fi
|
Loading…
Add table
Add a link
Reference in a new issue