From patchwork Thu Nov 22 13:10:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 8 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0B57160B12 for ; Thu, 22 Nov 2018 14:10:16 +0100 (CET) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9AA55594; Thu, 22 Nov 2018 14:10:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1542892215; bh=FIb0GJKsnQ8QF5E0PXkBR9zz5nUVwCqEMcV9whKz/LQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pzhlPdK7vkgB/UzpXqR2Ivk+RUAIsVJjRqyzNqMZqdRSXaC8cgkZVyMOdY7/dCgKp bi2m6LjeJSaksyio13XcHY9w1X+H+a5GeWTNXFEMvc7rZZFwzfQaQoT1e39IQpHt1A MnntMgECTZ/+faHlnp1QQAp8S2/QN//RESdlqogE= From: Kieran Bingham To: LibCamera Devel Date: Thu, 22 Nov 2018 13:10:09 +0000 Message-Id: <20181122131010.22085-3-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181122131010.22085-1-kieran.bingham@ideasonboard.com> References: <20181122131010.22085-1-kieran.bingham@ideasonboard.com> Subject: [libcamera-devel] [PATCH 2/3] CI: Provide initial automated testing X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2018 13:10:16 -0000 Integrate compile testing and the ninja test framework. Any unit tests registered with the Meson Build system will automatically be run with 'ninja test'. Signed-off-by: Kieran Bingham --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000000..8b4b4b12d368 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +image: gcc + +build: + stage: build + before_script: + - apt update && apt -y install meson + script: + - mkdir libcamera && cd libcamera && meson .. && ninja + - ninja test + artifacts: + paths: + - libcamera/lib/libcamera.so + - libcamera/test/test_init + - meson-logs/testlog.txt