* [Qemu-devel] [PATCH v2] cirrus.yml: Add macOS continuous integration task
@ 2019-03-08 7:20 Thomas Huth
2019-03-08 7:56 ` Paolo Bonzini
2019-03-08 9:43 ` Alex Bennée
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Huth @ 2019-03-08 7:20 UTC (permalink / raw)
To: qemu-devel, Ed Maste, Li-Wen Hsu
Cc: Peter Maydell, Alex Bennée, Philippe Mathieu-Daudé,
Paolo Bonzini
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.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
v2:
- Move CIRRUS_CLONE_DEPTH to generic part
- Use python from brew
- Use mojave-base instead of high-sierra-base
.cirrus.yml | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index 303fe72..47ef5bc 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,10 +1,11 @@
+env:
+ CIRRUS_CLONE_DEPTH: 1
+
freebsd_12_task:
freebsd_instance:
image: freebsd-12-0-release-amd64
cpu: 8
memory: 8G
- env:
- CIRRUS_CLONE_DEPTH: 1
install_script: pkg install -y
bison curl cyrus-sasl git glib gmake gnutls
nettle perl5 pixman pkgconf png usbredir
@@ -14,3 +15,13 @@ freebsd_12_task:
- ../configure || { cat config.log; exit 1; }
- gmake -j8
- gmake -j8 V=1 check
+
+macos_task:
+ osx_instance:
+ image: mojave-base
+ install_script:
+ - brew install pkg-config python glib pixman make sdl2
+ script:
+ - ./configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; }
+ - gmake -j$(sysctl -n hw.ncpu)
+ - gmake check -j$(sysctl -n hw.ncpu)
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH v2] cirrus.yml: Add macOS continuous integration task
2019-03-08 7:20 [Qemu-devel] [PATCH v2] cirrus.yml: Add macOS continuous integration task Thomas Huth
@ 2019-03-08 7:56 ` Paolo Bonzini
2019-03-08 9:43 ` Alex Bennée
1 sibling, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2019-03-08 7:56 UTC (permalink / raw)
To: Thomas Huth, qemu-devel, Ed Maste, Li-Wen Hsu
Cc: Peter Maydell, Alex Bennée, Philippe Mathieu-Daudé
On 08/03/19 08:20, 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.
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Acked-by: Ed Maste <emaste@freebsd.org>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> v2:
> - Move CIRRUS_CLONE_DEPTH to generic part
> - Use python from brew
> - Use mojave-base instead of high-sierra-base
>
> .cirrus.yml | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/.cirrus.yml b/.cirrus.yml
> index 303fe72..47ef5bc 100644
> --- a/.cirrus.yml
> +++ b/.cirrus.yml
> @@ -1,10 +1,11 @@
> +env:
> + CIRRUS_CLONE_DEPTH: 1
> +
> freebsd_12_task:
> freebsd_instance:
> image: freebsd-12-0-release-amd64
> cpu: 8
> memory: 8G
> - env:
> - CIRRUS_CLONE_DEPTH: 1
> install_script: pkg install -y
> bison curl cyrus-sasl git glib gmake gnutls
> nettle perl5 pixman pkgconf png usbredir
> @@ -14,3 +15,13 @@ freebsd_12_task:
> - ../configure || { cat config.log; exit 1; }
> - gmake -j8
> - gmake -j8 V=1 check
> +
> +macos_task:
> + osx_instance:
> + image: mojave-base
> + install_script:
> + - brew install pkg-config python glib pixman make sdl2
> + script:
> + - ./configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; }
> + - gmake -j$(sysctl -n hw.ncpu)
> + - gmake check -j$(sysctl -n hw.ncpu)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH v2] cirrus.yml: Add macOS continuous integration task
2019-03-08 7:20 [Qemu-devel] [PATCH v2] cirrus.yml: Add macOS continuous integration task Thomas Huth
2019-03-08 7:56 ` Paolo Bonzini
@ 2019-03-08 9:43 ` Alex Bennée
2019-03-08 12:00 ` Li-Wen Hsu
1 sibling, 1 reply; 4+ messages in thread
From: Alex Bennée @ 2019-03-08 9:43 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-devel, Ed Maste, Li-Wen Hsu, Peter Maydell,
Philippe Mathieu-Daudé, Paolo Bonzini
Thomas Huth <thuth@redhat.com> writes:
> 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.
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Acked-by: Ed Maste <emaste@freebsd.org>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Queued to testing/next, thanks.
> ---
> v2:
> - Move CIRRUS_CLONE_DEPTH to generic part
> - Use python from brew
> - Use mojave-base instead of high-sierra-base
>
> .cirrus.yml | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/.cirrus.yml b/.cirrus.yml
> index 303fe72..47ef5bc 100644
> --- a/.cirrus.yml
> +++ b/.cirrus.yml
> @@ -1,10 +1,11 @@
> +env:
> + CIRRUS_CLONE_DEPTH: 1
> +
> freebsd_12_task:
> freebsd_instance:
> image: freebsd-12-0-release-amd64
> cpu: 8
> memory: 8G
> - env:
> - CIRRUS_CLONE_DEPTH: 1
> install_script: pkg install -y
> bison curl cyrus-sasl git glib gmake gnutls
> nettle perl5 pixman pkgconf png usbredir
> @@ -14,3 +15,13 @@ freebsd_12_task:
> - ../configure || { cat config.log; exit 1; }
> - gmake -j8
> - gmake -j8 V=1 check
> +
> +macos_task:
> + osx_instance:
> + image: mojave-base
> + install_script:
> + - brew install pkg-config python glib pixman make sdl2
> + script:
> + - ./configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; }
> + - gmake -j$(sysctl -n hw.ncpu)
> + - gmake check -j$(sysctl -n hw.ncpu)
--
Alex Bennée
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH v2] cirrus.yml: Add macOS continuous integration task
2019-03-08 9:43 ` Alex Bennée
@ 2019-03-08 12:00 ` Li-Wen Hsu
0 siblings, 0 replies; 4+ messages in thread
From: Li-Wen Hsu @ 2019-03-08 12:00 UTC (permalink / raw)
To: Alex Bennée
Cc: Thomas Huth, qemu-devel, Ed Maste, Peter Maydell,
Philippe Mathieu-Daudé, Paolo Bonzini
On Fri, Mar 8, 2019 at 5:43 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
>
> Thomas Huth <thuth@redhat.com> writes:
>
> > 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.
> >
> > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> > Acked-by: Ed Maste <emaste@freebsd.org>
> > Signed-off-by: Thomas Huth <thuth@redhat.com>
>
> Queued to testing/next, thanks.
Acked-by: Li-Wen Hsu <lwhsu@FreeBSD.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-08 12:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-08 7:20 [Qemu-devel] [PATCH v2] cirrus.yml: Add macOS continuous integration task Thomas Huth
2019-03-08 7:56 ` Paolo Bonzini
2019-03-08 9:43 ` Alex Bennée
2019-03-08 12:00 ` Li-Wen Hsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).