Ed Maste <ema...@freefall.freebsd.org> writes:

> From: Ed Maste <ema...@freebsd.org>
>
> 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 <ema...@freebsd.org>
> ---
>  .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
> +  script:
> +    - mkdir build
> +    - cd build
> +    - ../configure || { cat config.log; exit 1; }
> +    - gmake -j8
> +    - gmake -j8 check

While debugging I ended up adding V=1 to the two gmake invocations
because it wasn't quite clear why it had failed last time. With that:

Reviewed-by: Alex Bennée <alex.ben...@linaro.org>

Does this patch come with an offer to be maintainer for FreeBSD/Cirrus
CI stuff? In which case it will need a new entry in MAINTAINERS. I'm
happy to feed patches to Peter until you can get keys signed and
generate your own pull requests.

--
Alex Bennée

Reply via email to