* [PATCH RESEND 0/3] travis-ci: Improve OSX coverage
@ 2020-02-18 14:20 Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 1/3] .travis.yml: Expand OSX code coverage Philippe Mathieu-Daudé
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-18 14:20 UTC (permalink / raw)
To: qemu-devel; +Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé
Add more packages on the Mojave OSX job (Xcode 10),
and duplicate the job to build on Catalina (Xcode 11).
Each job takes ~34min:
https://travis-ci.org/philmd/qemu/builds/651473221
Philippe Mathieu-Daudé (3):
.travis.yml: Expand OSX code coverage
.travis.yml: Build with ncurses on OSX
.travis.yml: Test building with Xcode 11.3
.travis.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 46 insertions(+), 2 deletions(-)
--
2.21.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH RESEND 1/3] .travis.yml: Expand OSX code coverage
2020-02-18 14:20 [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
@ 2020-02-18 14:20 ` Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 2/3] .travis.yml: Build with ncurses on OSX Philippe Mathieu-Daudé
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-18 14:20 UTC (permalink / raw)
To: qemu-devel; +Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé
Install more packages to cover more components:
./configure
[...]
host CPU x86_64
strip binaries yes
Cocoa support yes
TLS priority NORMAL
GNUTLS support yes
nettle yes (3.4.1)
libtasn1 yes
PAM yes
iconv support yes
curses support no
curl support yes
Audio drivers coreaudio
vde support yes
HAX support yes
HVF support yes
TCG support yes
vhost-net support yes
vhost-crypto support yes
vhost-user support yes
vhost-user-fs support yes
libusb yes
libiscsi support yes
libssh support yes
lzo support yes
snappy support yes
bzip2 support yes
lzfse support yes
[...]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
.travis.yml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 5887055951..08ef2c011c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -279,10 +279,19 @@ matrix:
homebrew:
packages:
- ccache
+ - libgcrypt
+ - libiscsi
+ - libssh2
+ - libusb
+ - lzfse
+ - lzo
+ - gettext
- glib
- - pixman
- gnu-sed
+ - pixman
- python
+ - snappy
+ - vde
update: true
before_script:
- brew link --overwrite python
--
2.21.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH RESEND 2/3] .travis.yml: Build with ncurses on OSX
2020-02-18 14:20 [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 1/3] .travis.yml: Expand OSX code coverage Philippe Mathieu-Daudé
@ 2020-02-18 14:20 ` Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3 Philippe Mathieu-Daudé
2020-02-25 9:18 ` [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
3 siblings, 0 replies; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-18 14:20 UTC (permalink / raw)
To: qemu-devel; +Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé
Install the ncurses to extend coverage:
$ ./configure
[...]
iconv support yes
curses support yes
curl support yes
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
.travis.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 08ef2c011c..a2a7fd0dd1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -271,7 +271,7 @@ matrix:
- name: "OSX Xcode 10.3"
env:
- - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu"
+ - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
os: osx
osx_image: xcode10.3
compiler: clang
@@ -288,6 +288,7 @@ matrix:
- gettext
- glib
- gnu-sed
+ - ncurses
- pixman
- python
- snappy
--
2.21.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3
2020-02-18 14:20 [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 1/3] .travis.yml: Expand OSX code coverage Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 2/3] .travis.yml: Build with ncurses on OSX Philippe Mathieu-Daudé
@ 2020-02-18 14:20 ` Philippe Mathieu-Daudé
2020-02-25 12:29 ` Alex Bennée
2020-02-25 9:18 ` [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
3 siblings, 1 reply; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-18 14:20 UTC (permalink / raw)
To: qemu-devel; +Cc: Fam Zheng, Alex Bennée, Philippe Mathieu-Daudé
We currently run a CI job on macOS Mojave with Xcode 10.
QEMU policy is to support the two last major OS releases.
Add a job building on macOS Catalina, which comes with Xcode 11.
Split the target list in two, as we don't need to cover twice the
same targets.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
.travis.yml | 36 +++++++++++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index a2a7fd0dd1..d02a477623 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -269,9 +269,10 @@ matrix:
# MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
+ # On macOS Mojave, the SDK comes bundled with Xcode 10.
- name: "OSX Xcode 10.3"
env:
- - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
+ - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
os: osx
osx_image: xcode10.3
compiler: clang
@@ -301,6 +302,39 @@ matrix:
- ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
+ # On macOS Catalina, the SDK comes bundled with Xcode 11.
+ - name: "OSX Xcode 11.3"
+ env:
+ - CONFIG="--target-list=arm-softmmu,ppc64-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
+ os: osx
+ osx_image: xcode11.3
+ compiler: clang
+ addons:
+ homebrew:
+ packages:
+ - ccache
+ - libgcrypt
+ - libiscsi
+ - libssh2
+ - libusb
+ - lzfse
+ - lzo
+ - gettext
+ - glib
+ - gnu-sed
+ - ncurses
+ - pixman
+ - python
+ - snappy
+ - vde
+ update: true
+ before_script:
+ - brew link --overwrite python
+ - export PATH="/usr/local/opt/ccache/libexec:$PATH"
+ - mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
+ - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
+
+
# Python builds
- name: "GCC Python 3.5 (x86_64-softmmu)"
env:
--
2.21.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH RESEND 0/3] travis-ci: Improve OSX coverage
2020-02-18 14:20 [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
` (2 preceding siblings ...)
2020-02-18 14:20 ` [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3 Philippe Mathieu-Daudé
@ 2020-02-25 9:18 ` Philippe Mathieu-Daudé
2020-04-09 17:48 ` Philippe Mathieu-Daudé
3 siblings, 1 reply; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-25 9:18 UTC (permalink / raw)
To: qemu-devel; +Cc: Fam Zheng, Alex Bennée
On 2/18/20 3:20 PM, Philippe Mathieu-Daudé wrote:
> Add more packages on the Mojave OSX job (Xcode 10),
> and duplicate the job to build on Catalina (Xcode 11).
ping?
>
> Each job takes ~34min:
> https://travis-ci.org/philmd/qemu/builds/651473221
>
> Philippe Mathieu-Daudé (3):
> .travis.yml: Expand OSX code coverage
> .travis.yml: Build with ncurses on OSX
> .travis.yml: Test building with Xcode 11.3
>
> .travis.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 46 insertions(+), 2 deletions(-)
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3
2020-02-18 14:20 ` [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3 Philippe Mathieu-Daudé
@ 2020-02-25 12:29 ` Alex Bennée
2020-04-09 17:44 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 9+ messages in thread
From: Alex Bennée @ 2020-02-25 12:29 UTC (permalink / raw)
To: Philippe Mathieu-Daudé; +Cc: Fam Zheng, qemu-devel
Philippe Mathieu-Daudé <philmd@redhat.com> writes:
> We currently run a CI job on macOS Mojave with Xcode 10.
>
> QEMU policy is to support the two last major OS releases.
> Add a job building on macOS Catalina, which comes with Xcode 11.
>
> Split the target list in two, as we don't need to cover twice the
> same targets.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> .travis.yml | 36 +++++++++++++++++++++++++++++++++++-
> 1 file changed, 35 insertions(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index a2a7fd0dd1..d02a477623 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -269,9 +269,10 @@ matrix:
>
> # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
>
> + # On macOS Mojave, the SDK comes bundled with Xcode 10.
> - name: "OSX Xcode 10.3"
> env:
> - - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
> + - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
> os: osx
> osx_image: xcode10.3
> compiler: clang
> @@ -301,6 +302,39 @@ matrix:
> - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
>
>
> + # On macOS Catalina, the SDK comes bundled with Xcode 11.
> + - name: "OSX Xcode 11.3"
> + env:
> + - CONFIG="--target-list=arm-softmmu,ppc64-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
> + os: osx
> + osx_image: xcode11.3
Are we duplicating what the latest Xcode on Cirrus is here?
--
Alex Bennée
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3
2020-02-25 12:29 ` Alex Bennée
@ 2020-04-09 17:44 ` Philippe Mathieu-Daudé
2020-04-09 17:54 ` Daniel P. Berrangé
0 siblings, 1 reply; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-04-09 17:44 UTC (permalink / raw)
To: Alex Bennée; +Cc: Fam Zheng, Daniel P . Berrange, qemu-devel
On 2/25/20 1:29 PM, Alex Bennée wrote:
>
> Philippe Mathieu-Daudé <philmd@redhat.com> writes:
>
>> We currently run a CI job on macOS Mojave with Xcode 10.
>>
>> QEMU policy is to support the two last major OS releases.
>> Add a job building on macOS Catalina, which comes with Xcode 11.
>>
>> Split the target list in two, as we don't need to cover twice the
>> same targets.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>> .travis.yml | 36 +++++++++++++++++++++++++++++++++++-
>> 1 file changed, 35 insertions(+), 1 deletion(-)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index a2a7fd0dd1..d02a477623 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -269,9 +269,10 @@ matrix:
>>
>> # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
>>
>> + # On macOS Mojave, the SDK comes bundled with Xcode 10.
>> - name: "OSX Xcode 10.3"
>> env:
>> - - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
>> + - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
>> os: osx
>> osx_image: xcode10.3
>> compiler: clang
>> @@ -301,6 +302,39 @@ matrix:
>> - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
>>
>>
>> + # On macOS Catalina, the SDK comes bundled with Xcode 11.
>> + - name: "OSX Xcode 11.3"
>> + env:
>> + - CONFIG="--target-list=arm-softmmu,ppc64-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
>> + os: osx
>> + osx_image: xcode11.3
>
> Are we duplicating what the latest Xcode on Cirrus is here?
Maybe, I'm not sure. It seems only few people care about
Cirrus/Shippable but they are not taken seriously by the community, as
they are often broken and nobody is notified. Currently Travis has a
broader audience.
Also I sent a series to fix various things that break on Cirrus from
time to time but I felt there is not many interest so I stopped spending
energy on it:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg675074.html
We could change that by refusing to merge pullreq that break such CI.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH RESEND 0/3] travis-ci: Improve OSX coverage
2020-02-25 9:18 ` [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
@ 2020-04-09 17:48 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-04-09 17:48 UTC (permalink / raw)
To: qemu-devel; +Cc: Fam Zheng, Alex Bennée
On 2/25/20 10:18 AM, Philippe Mathieu-Daudé wrote:
> On 2/18/20 3:20 PM, Philippe Mathieu-Daudé wrote:
>> Add more packages on the Mojave OSX job (Xcode 10),
>> and duplicate the job to build on Catalina (Xcode 11).
>
> ping?
Ping for patches 1 + 2 (extend OSX coverage)?
>
>>
>> Each job takes ~34min:
>> https://travis-ci.org/philmd/qemu/builds/651473221
>>
>> Philippe Mathieu-Daudé (3):
>> .travis.yml: Expand OSX code coverage
>> .travis.yml: Build with ncurses on OSX
>> .travis.yml: Test building with Xcode 11.3
>>
>> .travis.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
>> 1 file changed, 46 insertions(+), 2 deletions(-)
>>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3
2020-04-09 17:44 ` Philippe Mathieu-Daudé
@ 2020-04-09 17:54 ` Daniel P. Berrangé
0 siblings, 0 replies; 9+ messages in thread
From: Daniel P. Berrangé @ 2020-04-09 17:54 UTC (permalink / raw)
To: Philippe Mathieu-Daudé; +Cc: Fam Zheng, Alex Bennée, qemu-devel
On Thu, Apr 09, 2020 at 07:44:46PM +0200, Philippe Mathieu-Daudé wrote:
> On 2/25/20 1:29 PM, Alex Bennée wrote:
> >
> > Philippe Mathieu-Daudé <philmd@redhat.com> writes:
> >
> > > We currently run a CI job on macOS Mojave with Xcode 10.
> > >
> > > QEMU policy is to support the two last major OS releases.
> > > Add a job building on macOS Catalina, which comes with Xcode 11.
> > >
> > > Split the target list in two, as we don't need to cover twice the
> > > same targets.
> > >
> > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> > > ---
> > > .travis.yml | 36 +++++++++++++++++++++++++++++++++++-
> > > 1 file changed, 35 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/.travis.yml b/.travis.yml
> > > index a2a7fd0dd1..d02a477623 100644
> > > --- a/.travis.yml
> > > +++ b/.travis.yml
> > > @@ -269,9 +269,10 @@ matrix:
> > > # MacOSX builds - cirrus.yml also tests some MacOS builds including latest Xcode
> > > + # On macOS Mojave, the SDK comes bundled with Xcode 10.
> > > - name: "OSX Xcode 10.3"
> > > env:
> > > - - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
> > > + - CONFIG="--target-list=i386-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
> > > os: osx
> > > osx_image: xcode10.3
> > > compiler: clang
> > > @@ -301,6 +302,39 @@ matrix:
> > > - ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }
> > > + # On macOS Catalina, the SDK comes bundled with Xcode 11.
> > > + - name: "OSX Xcode 11.3"
> > > + env:
> > > + - CONFIG="--target-list=arm-softmmu,ppc64-softmmu,x86_64-softmmu --extra-cflags=-I/usr/local/opt/ncurses/include --extra-ldflags=-L/usr/local/opt/ncurses/lib"
> > > + os: osx
> > > + osx_image: xcode11.3
> >
> > Are we duplicating what the latest Xcode on Cirrus is here?
>
> Maybe, I'm not sure. It seems only few people care about Cirrus/Shippable
> but they are not taken seriously by the community, as they are often broken
> and nobody is notified. Currently Travis has a broader audience.
>
> Also I sent a series to fix various things that break on Cirrus from time to
> time but I felt there is not many interest so I stopped spending energy on
> it:
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg675074.html
>
> We could change that by refusing to merge pullreq that break such CI.
IMHO less is more. IOW, we should use/support the fewest possible CI
systems required to get the coverage we want. If we can get all macOS
coverage on Travis, I'd remove it from Cirrus, or vica-verca. The fewer
places we have to look at the more likely we'll pay attention to it
when it breaks.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-04-09 17:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 14:20 [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 1/3] .travis.yml: Expand OSX code coverage Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 2/3] .travis.yml: Build with ncurses on OSX Philippe Mathieu-Daudé
2020-02-18 14:20 ` [PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3 Philippe Mathieu-Daudé
2020-02-25 12:29 ` Alex Bennée
2020-04-09 17:44 ` Philippe Mathieu-Daudé
2020-04-09 17:54 ` Daniel P. Berrangé
2020-02-25 9:18 ` [PATCH RESEND 0/3] travis-ci: Improve OSX coverage Philippe Mathieu-Daudé
2020-04-09 17:48 ` Philippe Mathieu-Daudé
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).