On 16.01.2019 15:26, Alex Bennée wrote:
> 
> 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.
> 
> Do you know if there is anyway to eyeball the state of the tree? So far
> I can watch the build run at:
> 
>   https://cirrus-ci.com/github/stsquad/qemu
> 
> but unlike Travis and Shippable there doesn't seem to be a badge I could
> transclude into the wiki page:
> 
>   https://wiki.qemu.org/Template:CIStatus
> 
> which means no one will know if the build fails. Travis also makes some
> noise on the IRC channel although given it's stability it's debatable
> how much longer we shall do that.

There is a badge:
https://cirrus-ci.org/guide/writing-tasks/#embedded-badges

For your case it'll be:
https://api.cirrus-ci.com/github/stsquad/qemu.svg?branch=review/dynamic-tlb-v6

> 
>>
>> 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
> 
> 
> --
> Alex Bennée
> 

Reply via email to