[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Tue, 23 Feb 2021 16:53:53 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TX5TkCMVopvOD+/peD2pbZJMxf38hUZzN7+U/hRv6Fc=; b=EwG6SOpe15/AzBZgmUHU9vcXC4u8mJAyq9ZK8G7NNC6aKXMynDP9LHQAT9FYzXp/gwkAQDtCIhANSdGqhAYu1QrQmZjMQKJxa7PIjzY8lPCYPkmhGPO7V+1GOVoLWZhZpQ4WALc7Vtq4TJrwuE3miIcWjIoFZAg/nv+6y73VT0xAj4B7eXmZokxovNjiRXlSy6qb4Hh20G1L60F1005eicyMqUalGXIH3Kcfbqx56txx13zL5h6Li9XX0YQAsSR/5ZMPhwzfaj38BFVa5zXiR9jSk47nT8H4bxc3WT4xzWbOtK8fNUnxlhHEwBS7WdImhwcCNzqTcQfSbrNTf/YZNg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HLkplyHFbAFcNcJzutSoZ5DZ2dXe7GtFvHFW3m4b662DBL8y4lVHUaxYxaMSYWgso+cQtDUiEGMKPVZozPOu1B0724pczbyuZiVpehu7CwtnAmhRSzMWx3DTNCKAaY7EX1vbMJtWFuly1qqbh4vxGvdtnErtUEogJjcZ9pjbe83ENjDGj7dzlECcyFz0PN66gp+4uzkg9QQAQCC0pZANDNT90AirexVEVnPM1g9V8vhlsRx1XOaRy9FNECT78LKC1XF6NhT8dGVnEKqF4O091NPT4HbubF3VxK7ZsUJMDnRgE/9FRFYpJlfAG3bXZJirN14YuBRmdI2jLXRtQeQ9iQ==
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Tue, 23 Feb 2021 15:56:06 +0000
  • Ironport-sdr: ZOnFqxAnwSdtLTSdQfJEwHxxE955P+YsnosY2l0VUgqZtKWaWqCt02GkMlNiWaCMOefWxkg1vl Vsl8acIgrbi8z3Yd2VneHf25kOhq2WP8ZP5we4grFAlI6o13ZMl89cDHsiAypPu2N7yRCzeY9X GYSMi9oWpC1SxiMnvLp4PPO42pgRy8ucirKbUSnofzF10m8611oNmhpTbEE9/AulXv+866JNfs Vc8mFeVfhimIGgIiZI4ZfyU8B2NVZVrFy0x+XY0A+Sa4yWHwuJfHCxXX6CYzBqNe4rubBnRUic iEE=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Cirrus-CI supports FreeBSD natively, so introduce some build tests on
FreeBSD.

The Cirrus-CI requires a Github repository in order to trigger the
tests.

A sample run output can be seen at:

https://github.com/royger/xen/runs/1962451343

Note the FreeBSD 11 task fails to build QEMU and is not part of this
patch.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
I think this is fine to go in right now, as it's just a meta file for
a test framework, and has 0 chance of breaking anything existing in
Xen.
---
 .cirrus.yml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 .cirrus.yml

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 0000000000..5e3e46368e
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,26 @@
+# 
https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
+freebsd_template: &FREEBSD_TEMPLATE
+  environment:
+    APPEND_LIB: /usr/local/lib
+    APPEND_INCLUDES: /usr/local/include
+
+  install_script: pkg install -y seabios markdown gettext-tools gmake
+                                 pkgconf python libiconv bison perl5
+                                 yajl lzo2 pixman argp-standalone
+                                 libxml2 glib git
+
+  build_script:
+    - ./configure --with-system-seabios=/usr/local/share/seabios/bios.bin
+    - gmake -j`sysctl -n hw.ncpu` clang=y
+
+task:
+  name: 'FreeBSD 12'
+  freebsd_instance:
+    image_family: freebsd-12-2
+  << : *FREEBSD_TEMPLATE
+
+task:
+  name: 'FreeBSD 13'
+  freebsd_instance:
+    image_family: freebsd-13-0
+  << : *FREEBSD_TEMPLATE
-- 
2.30.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.