On 2019-01-15 19:42, Ed Maste wrote:
> From: Ed Maste <[email protected]>
>
> Cirrus-CI (https://cirrus-ci.org) is a hosted CI service which supports
> several platforms, including FreeBSD. Later on we could build for other
> hosts in Cirrus-CI, but I'm starting with only FreeBSD as it is not
> supported by other CI services.
>
> Signed-off-by: Ed Maste <[email protected]>
> ---
> .cirrus.yml | 16 ++++++++++++++++
> create mode 100644 .cirrus.yml
>
> diff --git a/.cirrus.yml b/.cirrus.yml
> new file mode 100644
> index 0000000000..ff4bf75ad1
> --- /dev/null
> +++ b/.cirrus.yml
> @@ -0,0 +1,16 @@
> +freebsd_12_task:
> + freebsd_instance:
> + image: freebsd-12-0-release-amd64
> + cpu: 8
> + memory: 24G
> + env:
> + CIRRUS_CLONE_DEPTH: 1
> + install_script: pkg install -y
> + bison curl cyrus-sasl fontconfig freetype2 git glib gmake gnutls
> + nettle perl5 pixman pkgconf png usbredir
Why freetype2 and fontconfig? QEMU does not use freetype, as far as I
know...
Maybe rather add SDL2 or gtk3 if available?
> + script:
> + - mkdir build
> + - cd build
> + - ../configure || { cat config.log; exit 1; }
> + - gmake -j8
> + - gmake -j8 check
I think it would also be good to have an entry in the MAINTAINERS file
for this new yml file - either in the section where we already have
.travis.yml or in a new subsection under "Build and test automation"?
Thomas