[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] cirrus.yml: Add macOS continuous integration ta
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH] cirrus.yml: Add macOS continuous integration task |
Date: |
Mon, 4 Mar 2019 12:08:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
On 3/4/19 11:32 AM, Thomas Huth wrote:
> cirrus-ci.com also has the possibility to run CI tasks on macOS.
> Since most of the QEMU developers do not have access to macOS yet,
> let's add a CI pipeline for this operating system here, too.
Can we get report of failures? (IRC, mail to ML, patchew icon)
>
> Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> You can see an example here: https://cirrus-ci.com/task/5099494325616640
>
> .cirrus.yml | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/.cirrus.yml b/.cirrus.yml
> index 303fe72..e3d375b 100644
> --- a/.cirrus.yml
> +++ b/.cirrus.yml
> @@ -14,3 +14,15 @@ freebsd_12_task:
> - ../configure || { cat config.log; exit 1; }
> - gmake -j8
> - gmake -j8 V=1 check
> +
> +macos_task:
> + osx_instance:
> + image: high-sierra-base
> + env:
> + CIRRUS_CLONE_DEPTH: 1
> + install_script:
> + - brew install pkg-config glib pixman make sdl2
> + script:
> + - ./configure || { cat config.log; exit 1; }
> + - gmake -j$(sysctl -n hw.ncpu)
> + - gmake check -j$(sysctl -n hw.ncpu)
>