From patchwork Thu Sep 6 10:01:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Stone X-Patchwork-Id: 10590405 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5DBC1157A for ; Thu, 6 Sep 2018 10:01:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A3BC2A455 for ; Thu, 6 Sep 2018 10:01:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 587A22A6C1; Thu, 6 Sep 2018 10:01:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E79812A6C2 for ; Thu, 6 Sep 2018 10:01:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8FCA48980C; Thu, 6 Sep 2018 10:01:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by gabe.freedesktop.org (Postfix) with ESMTPS id 82CB08980C for ; Thu, 6 Sep 2018 10:01:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: daniels) with ESMTPSA id E318A26CF14 From: Daniel Stone To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm] CI: Capture test logs as GitLab artifacts Date: Thu, 6 Sep 2018 11:01:17 +0100 Message-Id: <20180906100117.5627-1-daniels@collabora.com> X-Mailer: git-send-email 2.19.0.rc0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Eric_Engestr=C3=B6m?= , Daniel Vetter , Lucas De Marchi Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP GitLab CI already captures all the stdout/stderr output from the build process as the log. However, some other important information is hidden in other log files. Taken from Wayland, capture logs from the configuration process as well as from every check. Signed-off-by: Daniel Stone Cc: Rodrigo Vivi Cc: Lucas De Marchi Cc: Eric Engeström Cc: Daniel Vetter Acked-by: Daniel Vetter Acked-by: Eric Engestrom Reviewed-by: Emil Velikov --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eee6abfc..50ec8527 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,29 @@ +.artifacts-meson: &artifacts-meson + when: always + paths: + - _build/meson-logs + +.artifacts-autotools: &artifacts-autotools + when: always + paths: + - _build/*.log + - _build/amdgpu/*.log + - _build/etnaviv/*.log + - _build/exynos/*.log + - _build/freedreno/*.log + - _build/intel/*.log + - _build/libkms/*.log + - _build/nouveau/*.log + - _build/omap/*.log + - _build/radeon/*.log + - _build/tegra/*.log + - _build/tests/*.log + - _build/tests/*/*.log + latest-meson: stage: build image: base/archlinux:latest + artifacts: *artifacts-meson before_script: - pacman -Syu --noconfirm --needed base-devel @@ -35,6 +58,7 @@ latest-meson: latest-autotools: stage: build image: base/archlinux:latest + artifacts: *artifacts-autotools before_script: - pacman -Syu --noconfirm --needed base-devel @@ -69,6 +93,7 @@ latest-autotools: oldest-meson: stage: build image: debian:stable + artifacts: *artifacts-meson before_script: - printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n" 'path-exclude=/usr/share/doc/*' @@ -125,6 +150,7 @@ oldest-meson: oldest-autotools: stage: build image: debian:stable + artifacts: *artifacts-autotools before_script: - printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n" 'path-exclude=/usr/share/doc/*'