From patchwork Wed Mar 23 17:20:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 8652421 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DF4889FB32 for ; Wed, 23 Mar 2016 17:21:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06733203C0 for ; Wed, 23 Mar 2016 17:21:25 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2AE0F2038D for ; Wed, 23 Mar 2016 17:21:24 +0000 (UTC) Received: from localhost ([::1]:45137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aimTB-0004J7-9f for patchwork-qemu-devel@patchwork.kernel.org; Wed, 23 Mar 2016 13:21:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aimSz-0004HG-1Z for qemu-devel@nongnu.org; Wed, 23 Mar 2016 13:21:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aimSx-0006So-AZ for qemu-devel@nongnu.org; Wed, 23 Mar 2016 13:21:08 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:36226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aimSx-0006Sj-3h for qemu-devel@nongnu.org; Wed, 23 Mar 2016 13:21:07 -0400 Received: by mail-wm0-x22a.google.com with SMTP id r129so145500183wmr.1 for ; Wed, 23 Mar 2016 10:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YQfxkL4KdNvyj5jw1o7ZfS6ARrk+ATsNV7KBx+Gvctk=; b=eE1yRKUuIUdXg1s2zbU7G0opx1zq/Ukk0V7eb6/1VVwpi+Veie1OBtm8EoOkRTMKG0 HkdK42i6as+1mlm5ga2hNRme6FkBJq1D6pmdXUDVlHDYcFYNC40NJtpUnlVz1EYlZ6t4 EptJ2u/tdwVe0DGy+5p++VGu+Gdcr5hhmbRk0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YQfxkL4KdNvyj5jw1o7ZfS6ARrk+ATsNV7KBx+Gvctk=; b=P01N3BWKX/PoGD16i5CAzRx3ztVVphGw6uWUqcuIPfF1ZysnadlnxLcwovNzH60a3S +ClvKxWKDxgSks8jh4ej8Xd6KxeozfmmoHRCIVs6sQLy6VmngMEbOtM2GwtQjHsIa2tS U2iqOem1b096lujT+wBJ+1VaEFsUbRbbNl6m4eTbcVQb23Gs9mKbEOY0w2i40OSz1Jp1 Nx/G9+HmLkqtSmtngLJW9pNCvIu4E5SYMgBFC6bx14p+0rHvzJdtarf+b1Pab+HtYo0d 7E1l5Xa+VqW51W85zTPgpV9/I5k/wgcj47GuUx0PKLPqIsjg+KSSO3TUSiGixiKVPSHd YAgg== X-Gm-Message-State: AD7BkJIrh5bSJ/PqPZ0BLHJPp8qThA+y+EP7A9ARdCEGMzq2Onzlqc/ft9CrMC6dwiaCtUeg X-Received: by 10.28.186.214 with SMTP id k205mr28410142wmf.23.1458753666523; Wed, 23 Mar 2016 10:21:06 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n66sm3935463wmg.20.2016.03.23.10.21.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Mar 2016 10:21:03 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 95A673E04DE; Wed, 23 Mar 2016 17:21:02 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 23 Mar 2016 17:20:54 +0000 Message-Id: <1458753657-21664-3-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1458753657-21664-1-git-send-email-alex.bennee@linaro.org> References: <1458753657-21664-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22a Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , david@gibson.dropbear.id.au Subject: [Qemu-devel] [PATCH v2 2/5] .travis.yml: enable OSX builds X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Peter Maydell --- 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