* [PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing
@ 2021-02-23 15:53 Roger Pau Monne
2021-02-23 16:06 ` Andrew Cooper
2021-02-23 17:04 ` Ian Jackson
0 siblings, 2 replies; 3+ messages in thread
From: Roger Pau Monne @ 2021-02-23 15:53 UTC (permalink / raw)
To: xen-devel
Cc: Roger Pau Monne, Andrew Cooper, George Dunlap, Ian Jackson,
Jan Beulich, Julien Grall, Stefano Stabellini, Wei Liu
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@citrix.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing
2021-02-23 15:53 [PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing Roger Pau Monne
@ 2021-02-23 16:06 ` Andrew Cooper
2021-02-23 17:04 ` Ian Jackson
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cooper @ 2021-02-23 16:06 UTC (permalink / raw)
To: Roger Pau Monne, xen-devel
Cc: George Dunlap, Ian Jackson, Jan Beulich, Julien Grall,
Stefano Stabellini, Wei Liu
On 23/02/2021 15:53, Roger Pau Monne wrote:
> 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@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Fantastic to get some FreeBSD CI available.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing
2021-02-23 15:53 [PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing Roger Pau Monne
2021-02-23 16:06 ` Andrew Cooper
@ 2021-02-23 17:04 ` Ian Jackson
1 sibling, 0 replies; 3+ messages in thread
From: Ian Jackson @ 2021-02-23 17:04 UTC (permalink / raw)
To: Roger Pau Monne
Cc: xen-devel, Andrew Cooper, George Dunlap, Jan Beulich,
Julien Grall, Stefano Stabellini, Wei Liu
Roger Pau Monne writes ("[PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing"):
> 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.
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-23 17:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 15:53 [PATCH for-4.15] cirrus-ci: introduce some basic FreeBSD testing Roger Pau Monne
2021-02-23 16:06 ` Andrew Cooper
2021-02-23 17:04 ` Ian Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).