mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 08:17:40 -04:00
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>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
# 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
|