[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 2/5] .travis.yml: enable OSX builds
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v2 2/5] .travis.yml: enable OSX builds |
Date: |
Wed, 23 Mar 2016 17:20:54 +0000 |
Travis has support for OSX builds. Making the setup work cleanly
involves a little hacking about with the .travis.yml file but rather
than make it too messy I've pushed all the "brew" install stuff into a
support script called ./scripts/macosx-brew.sh.
Currently only the default ./configure ${CONFIG} is built as I'm not
sure what extra coverage would come from the other build stanzas.
Signed-off-by: Alex Bennée <address@hidden>
---
v2
- brew directly, use POSIX shell logic
---
.travis.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 18c04af..f02710d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,6 +53,8 @@ git:
# we want to do this ourselves
submodules: false
before_install:
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib
pixman ; fi
- wget -O -
http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
- git submodule update --init --recursive
before_script:
@@ -83,3 +85,6 @@ matrix:
- env: CONFIG="--with-coroutine=gthread"
TEST_CMD=""
compiler: gcc
+ - env: CONFIG=""
+ os: osx
+ compiler: clang
--
2.7.3
- [Qemu-devel] [PATCH v2 0/5] travis: reduce the matrix, add OSX, speed-up builds, Alex Bennée, 2016/03/23
- [Qemu-devel] [PATCH v2 1/5] .travis.yml: collapse the test matrix, Alex Bennée, 2016/03/23
- [Qemu-devel] [PATCH v2 2/5] .travis.yml: enable OSX builds,
Alex Bennée <=
- [Qemu-devel] [PATCH v2 3/5] .travis.yml: make -j3, Alex Bennée, 2016/03/23
- [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Alex Bennée, 2016/03/23
- Re: [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Sergey Fedorov, 2016/03/24
- Re: [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Alex Bennée, 2016/03/24
- Re: [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Sergey Fedorov, 2016/03/24
- Re: [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Alex Bennée, 2016/03/24
- Re: [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Sergey Fedorov, 2016/03/24
- Re: [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Alex Bennée, 2016/03/24
- Re: [Qemu-devel] [PATCH v2 4/5] ./configure: accept stems to match a range of targets, Sergey Fedorov, 2016/03/24