From patchwork Mon Apr 4 17:45:44 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: 65027 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp21659lbc; Mon, 4 Apr 2016 10:48:05 -0700 (PDT) X-Received: by 10.140.222.136 with SMTP id s130mr14850513qhb.62.1459792085252; Mon, 04 Apr 2016 10:48:05 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 7si23093658qgy.13.2016.04.04.10.48.05 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Apr 2016 10:48:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8bc-00043G-Sd for patch@linaro.org; Mon, 04 Apr 2016 13:48:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8ZZ-0000k5-3k for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an8ZX-0002Me-9v for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:45:57 -0400 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:34805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8ZX-0002MG-1s for qemu-devel@nongnu.org; Mon, 04 Apr 2016 13:45:55 -0400 Received: by mail-lb0-x22c.google.com with SMTP id vo2so172998056lbb.1 for ; Mon, 04 Apr 2016 10:45:54 -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=MKwxaolFpsLcbE88dtScqzkpNakBvOBMYIzq9Q4wnWE=; b=AJuk+6Wv5yOJhRfX2U1UNUd5HaUYsFXcNE871bZ69U1V1m6EqHPCUqieFrFCWHDHj3 8GQPujfQVX/cJE4etrx+GrNkqKm2iCkvYK+m/HPFWtNRHcDEjO+ofOdGnCl8a/OlqCoO d0eqoapDUj5RA58wPYC7tRhVELJQd7mJlW5uM= 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=MKwxaolFpsLcbE88dtScqzkpNakBvOBMYIzq9Q4wnWE=; b=eKIXRaVISa8EN1d011Z4SPzDLyFEive2D2QiMlpnnwBCmvOKlkagg7d3SYF1ZFmXjc 5nbrJmkalWUxSeH79YjsSKDiW7GKE5ez+0Rlbfe+eW3t0ZHSX4/Mfk0xpp2uThEuOHoF PBDGacwfE8iMzu+CExBxd2Wx5PFj2jgelREw22eBJ/GGBGUB9NgxBIQz7VNTw0Gblf8y WiV6Yaieb3Qn7yb6UrluhKRs3ih7Rl9Hk2ckB6Axe5m9n85wj3JoHio5ndlKBBZqzxxO uuDf49DrHnqEewkQpPHjCm8MgVKo+5JD+epMMR5EILgdlc/ujzvP+dTogN+PgGD7Lx+S k5QQ== X-Gm-Message-State: AD7BkJLEOORq9TVmf7TXtu4m7rB8iASzWQwZsjl+YDD6fSu/Z5WOleikf/dv/F3AQIUnrY8X X-Received: by 10.28.73.70 with SMTP id w67mr2558990wma.28.1459791954218; Mon, 04 Apr 2016 10:45:54 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id e80sm15415569wma.1.2016.04.04.10.45.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Apr 2016 10:45:52 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 742813E0951; Mon, 4 Apr 2016 18:45:51 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Mon, 4 Apr 2016 18:45:44 +0100 Message-Id: <1459791945-4985-3-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1459791945-4985-1-git-send-email-alex.bennee@linaro.org> References: <1459791945-4985-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:4010:c04::22c Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 2/3] .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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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(+) -- 2.7.4 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