]> xenbits.xensource.com Git - xtf.git/commitdiff
CI: Add Cirrus-CI FreeBSD testing
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 13 Jan 2024 13:29:24 +0000 (13:29 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 13 Jan 2024 14:02:22 +0000 (14:02 +0000)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
.cirrus.yml [new file with mode: 0644]

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644 (file)
index 0000000..1d3a59d
--- /dev/null
@@ -0,0 +1,28 @@
+freebsd_template: &FREEBSD_TEMPLATE
+  environment:
+    APPEND_LIB: /usr/local/lib
+    APPEND_INCLUDES: /usr/local/include
+
+  install_script: pkg install -y gmake
+
+  build_script:
+    - cc --version
+    - gmake -j`sysctl -n hw.ncpu` LLVM=y
+
+freebsd_13_task:
+  name: 'FreeBSD 13'
+  freebsd_instance:
+    image_family: freebsd-13-2
+  << : *FREEBSD_TEMPLATE
+
+freebsd_14_task:
+  name: 'FreeBSD 14'
+  freebsd_instance:
+    image_family: freebsd-14-0
+  << : *FREEBSD_TEMPLATE
+
+freebsd_15_task:
+  name: 'FreeBSD 15'
+  freebsd_instance:
+    image_family: freebsd-15-0-snap
+  << : *FREEBSD_TEMPLATE