From patchwork Mon Jul 8 13:16:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Paterson X-Patchwork-Id: 11035111 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 D14C813BD for ; Mon, 8 Jul 2019 13:25:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEBAA279E0 for ; Mon, 8 Jul 2019 13:25:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B32C02857E; Mon, 8 Jul 2019 13:25:30 +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 autolearn=ham version=3.3.1 Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (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 549DB279E0 for ; Mon, 8 Jul 2019 13:25:30 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 3362F2631; Mon, 8 Jul 2019 13:25:30 +0000 (UTC) X-Original-To: cip-dev@lists.cip-project.org Delivered-To: cip-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id B954025E8 for ; Mon, 8 Jul 2019 13:16:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 30F8D87C for ; Mon, 8 Jul 2019 13:16:08 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.62,466,1554735600"; d="scan'208";a="20645984" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 08 Jul 2019 22:16:07 +0900 Received: from renesas-ubuntu18.ree.adwin.renesas.com (unknown [10.226.36.115]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 6EACE418DD23; Mon, 8 Jul 2019 22:16:06 +0900 (JST) From: Chris Paterson To: cip-dev@lists.cip-project.org Date: Mon, 8 Jul 2019 14:16:03 +0100 Message-Id: <20190708131603.17134-1-chris.paterson2@renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190702105133.23765-1-chris.paterson2@renesas.com> References: <20190702105133.23765-1-chris.paterson2@renesas.com> Subject: [cip-dev] [PATCH v3 4.4.y-cip] Add gitlab-ci.yaml X-BeenThere: cip-dev@lists.cip-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: cip-dev-bounces@lists.cip-project.org Errors-To: cip-dev-bounces@lists.cip-project.org X-Virus-Scanned: ClamAV using ClamSMTP This is configured to build and test the following configurations: * BUILD_ARCH: arm * CONFIG: renesas_shmobile_defconfig * CONFIG_LOC: cip-kernel-config * DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm * DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb * BUILD_ARCH: arm * CONFIG: shmobile_defconfig * CONFIG_LOC: intree * DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm * DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb Over time support will be added for all CIP supported architectures and configurations. At the moment only simple boot tests are run. Real tests will be added in the future Signed-off-by: Chris Paterson --- v2->v3: Updated to use linux-cip-ci version: ad4a6589 (docker tag "v1") v1->v2: Updated to use latest linux-cip-ci version: 9d56f41a .gitlab-ci.yml | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000000..421d971908a6 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,51 @@ +variables: + GIT_STRATEGY: clone + GIT_DEPTH: 10 + DOCKER_DRIVER: overlay2 + +build_arm_renesas_shmobile_defconfig: + stage: build + image: registry.gitlab.com/cip-playground/linux-cip-ci:build-v1 + variables: + BUILD_ARCH: arm + CONFIG: renesas_shmobile_defconfig + CONFIG_LOC: cip-kernel-config + DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm + DTBS: arch/arm/boot/dts/r8a7743-iwg20d-q7-dbcm-ca.dtb arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dtb + script: + - /opt/build_kernel.sh + artifacts: + name: "$CI_JOB_NAME" + when: on_success + paths: + - output + +build_arm_shmobile_defconfig: + stage: build + image: registry.gitlab.com/cip-playground/linux-cip-ci:build-v1 + variables: + BUILD_ARCH: arm + CONFIG: shmobile_defconfig + CONFIG_LOC: intree + DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm + DTBS: arch/arm/boot/dts/r8a7743-iwg20d-q7-dbcm-ca.dtb arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dtb + script: + - /opt/build_kernel.sh + artifacts: + name: "$CI_JOB_NAME" + when: on_success + paths: + - output + +run_tests: + stage: test + image: registry.gitlab.com/cip-playground/linux-cip-ci:test-v1 + when: always + variables: + GIT_STRATEGY: none + script: + - /opt/submit_tests.sh + artifacts: + name: "$CI_JOB_NAME" + paths: + - output