[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH RESEND 3/3] .travis.yml: Test building with Xcode 11.3 |
Date: |
Tue, 18 Feb 2020 15:20:18 +0100 |
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é <address@hidden>
---
.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