On 2019-01-18 15:47, ema...@freebsd.org wrote:
> From: Ed Maste <ema...@freebsd.org>
> 
> Signed-off-by: Ed Maste <ema...@freebsd.org>
> ---
> Changes since v2:
>   * remove fontconfig and freetype2, noted by Thomas Huth
> 
> After this patch is applied someone with appropriate permissions will
> need to add the Cirrus-CI application in GitHub.

Maybe even more important: It also works for forked repositories (once
you've enabled the Cirrus-CI application from the marketplace), so
people can use this to test their branches before sending PULL requests,
e.g.:

 https://cirrus-ci.com/github/huth/qemu

Thus this sounds like a good idea to me.

Reviewed-by: Thomas Huth <th...@redhat.com>
Tested-by: Thomas Huth <th...@redhat.com>

>  .cirrus.yml | 16 ++++++++++++++++
>  MAINTAINERS |  8 ++++++++
>  2 files changed, 24 insertions(+)
>  create mode 100644 .cirrus.yml
> 
> diff --git a/.cirrus.yml b/.cirrus.yml
> new file mode 100644
> index 0000000000..84d6f0519b
> --- /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 git glib gmake gnutls
> +    nettle perl5 pixman pkgconf png usbredir
> +  script:
> +    - mkdir build
> +    - cd build
> +    - ../configure || { cat config.log; exit 1; }
> +    - gmake -j8 V=1
> +    - gmake -j8 V=1 check
> diff --git a/MAINTAINERS b/MAINTAINERS
> index af339b86db..f9da8c9cf0 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2483,6 +2483,14 @@ W: https://travis-ci.org/qemu/qemu
>  W: https://app.shippable.com/github/qemu/qemu
>  W: http://patchew.org/QEMU/
>  
> +FreeBSD Hosted Continuous Integration
> +M: Ed Maste <ema...@freebsd.org>
> +M: Li-Wen Hsu <lw...@freebsd.org>
> +L: qemu-devel@nongnu.org
> +S: Maintained
> +F: .cirrus.yml
> +W: https://cirrus-ci.com/github/qemu/qemu
> +
>  Guest Test Compilation Support
>  M: Alex Bennée <alex.ben...@linaro.org>
>  R: Philippe Mathieu-Daudé <f4...@amsat.org>
> 


Reply via email to