From patchwork Wed Aug 15 03:26:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 957784 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41qvyp3vfjz9s7c for ; Wed, 15 Aug 2018 13:26:58 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="YRRtm6B/"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="I2BT73CV"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41qvyp2DMZzF1df for ; Wed, 15 Aug 2018 13:26:58 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="YRRtm6B/"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="I2BT73CV"; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mendozajonas.com (client-ip=64.147.123.25; helo=wout2-smtp.messagingengine.com; envelope-from=sam@mendozajonas.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="YRRtm6B/"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="I2BT73CV"; dkim-atps=neutral Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41qvyb2GljzF0Vv for ; Wed, 15 Aug 2018 13:26:45 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 7A7D72C0; Tue, 14 Aug 2018 23:26:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 14 Aug 2018 23:26:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= mendozajonas.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=/EZz3bB/Q1modmWXY /XnNS7R9BJbJ9gnuadWMo4GiUw=; b=YRRtm6B/rop3TD64HfZdpUDFvUHsMvL9u g9/3OmwpF+YApSROquin4Qs/u/nmC0t1hdLFW4g0TYrX2gnRAe6cuD290sZkZT/C pGTupp5gU2oK1lQxI1IBYDhjVNA8YCFZGKSyY0RHRoodAUmymJbnOFznrON/X1Vm tKX/fARA3UOx0AOepgFjJefoUoqxy3r77btq/gR5bmwVoPbKL4MWMWsHtLlIf+Pr RqA33tOrPM8f7Ar6GOsP0m8wxHEKRZlphWy/ExWR+wTKNReGIkUbhJzPJrwQ5Azr fI0M2gn2vh5h8C0zlrEIycVy0Xtn+12cOMSj0m5FTIw6BXvc0/FRQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=/EZz3bB/Q1modmWXY /XnNS7R9BJbJ9gnuadWMo4GiUw=; b=I2BT73CVmam03d76pffT5eEBD2AMfB2ID XyScycgCpzG2zjomfj+LLHejlq29N8t3j06yXbSDhEMPirN79n1/Q6RAj7KnWswG h3TcZiK6oKWAtqadlNSqBYFJ/3bZmU/pd4JyJWzMGizxkEvFaG2pn3D2DMNPg4e0 6+HgCEqONj4yY4YKiF3gCw1VQs2MB84ZmihRchkH/kEPABsHHNHOz0lsHcuMMjQ9 k4jZojjktA99Vv5jp5za+daR0YRhbysCpZCqZnRa3CKWLIe95gmTSKFFQ3axbsgj pi4pWZQGr4QIhIQdwkKg1pLONsHZBarYer+diteNXiblt7QmqM2eg== X-ME-Proxy: X-ME-Sender: Received: from v4.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 5F312E4519; Tue, 14 Aug 2018 23:26:41 -0400 (EDT) From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [PATCH] travis: Use docker scripts Date: Wed, 15 Aug 2018 13:26:29 +1000 Message-Id: <20180815032629.3447-1-sam@mendozajonas.com> X-Mailer: git-send-email 2.18.0 X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Mendoza-Jonas MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Update the Travis config to use Petitboot's own docker scripts, and add ppc64le to the list of recognised architectures. Signed-off-by: Samuel Mendoza-Jonas --- .travis.yml | 11 +++-------- docker/builder-include | 1 + 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b82a1ad..f458213a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,18 +2,13 @@ language: c sudo: required dist: trusty +services: docker os: - linux - linux-ppc64le before_install: - - sudo apt-get -qq update - - sudo apt-get install -y autopoint libuv-dev libdevmapper-dev flex bison - - ./bootstrap - -install: - - ./configure --with-twin-x11=no --with-twin-fbdev=no - - make + - ./docker/build-builder script: - - make check + - ./docker/build-pb --check --verbose --configure-opts "--enable-platform-arm64 --enable-platform-powerpc" diff --git a/docker/builder-include b/docker/builder-include index 4f42e2c6..585be265 100644 --- a/docker/builder-include +++ b/docker/builder-include @@ -25,6 +25,7 @@ docker_from() { case "${a}" in amd64) echo "ubuntu:17.10" ;; arm64) echo "arm64v8/ubuntu:17.10" ;; + ppc64le) echo "ppc64le/ubuntu:17.10" ;; *) echo "${name}: ERROR: Unknown arch ${a}" >&2 exit 1