From patchwork Tue Dec 18 22:11:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas De Marchi X-Patchwork-Id: 10736383 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 2C2211399 for ; Tue, 18 Dec 2018 22:12:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C5412B081 for ; Tue, 18 Dec 2018 22:12:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF39B2B093; Tue, 18 Dec 2018 22:12:09 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B92852B08A for ; Tue, 18 Dec 2018 22:12:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727038AbeLRWMG (ORCPT ); Tue, 18 Dec 2018 17:12:06 -0500 Received: from mga07.intel.com ([134.134.136.100]:38253 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726904AbeLRWMG (ORCPT ); Tue, 18 Dec 2018 17:12:06 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2018 14:12:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,370,1539673200"; d="scan'208";a="119907169" Received: from ldmartin-desk.jf.intel.com ([10.7.200.65]) by orsmga001.jf.intel.com with ESMTP; 18 Dec 2018 14:12:06 -0800 From: Lucas De Marchi To: linux-modules@vger.kernel.org Subject: [PATCH] Add semaphoreci 2.0 configuration Date: Tue, 18 Dec 2018 14:11:58 -0800 Message-Id: <20181218221158.1454-1-lucas.demarchi@intel.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Sender: owner-linux-modules@vger.kernel.org Precedence: bulk List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Add another CI as alternative to travis-ci. Test on gcc 6, 7 and 8 on Ubuntu 18.04. Not sure if this is the best way to define the yml file, but it works. The old badge doesn't work. It will be added back later. --- .semaphore/semaphore.yml | 44 ++++++++++++++++++++++++++++++++++++++++ README | 4 ++-- README.md | 1 - 3 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 .semaphore/semaphore.yml diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml new file mode 100644 index 0000000..62f52b5 --- /dev/null +++ b/.semaphore/semaphore.yml @@ -0,0 +1,44 @@ +version: v1.0 +name: Build and Check +agent: + machine: + type: e1-standard-2 + os_image: ubuntu1804 + +blocks: + - name: "Build" + task: + jobs: + - name: Build gcc-8 + commands: + - sem-version c 8 + - name: Build gcc-7 + commands: + - sem-version c 7 + - name: Build gcc-6 + commands: + - sem-version c 6 + + prologue: + commands: + - sudo apt --yes install docbook-xsl liblzma-dev zlib1g-dev cython linux-headers-generic + - checkout + + epilogue: + commands: + - ./autogen.sh c + - make + + - name: "Unit tests" + task: + jobs: + - name: check + commands: + - sem-version c 8 + - ./autogen.sh c + - make check + + prologue: + commands: + - sudo apt --yes install docbook-xsl liblzma-dev zlib1g-dev cython linux-headers-generic + - checkout diff --git a/README b/README index 414076a..a0226e3 100644 --- a/README +++ b/README @@ -3,8 +3,8 @@ kmod - Linux kernel module handling Information =========== -Build status: - [![Build Status](https://semaphoreci.com/api/v1/projects/29d989ba-0f70-4006-be21-550f6692b73b/449920/shields_badge.svg)](https://semaphoreci.com/lucasdemarchi/kmod) +Build Status: + https://lucasdemarchi.semaphoreci.com/projects/kmod Mailing list: linux-modules@vger.kernel.org (no subscription needed) diff --git a/README.md b/README.md index cd4cdc8..d3b84bd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ ## kmod - Linux kernel module handling -[![Build Status](https://semaphoreci.com/api/v1/projects/29d989ba-0f70-4006-be21-550f6692b73b/449920/shields_badge.svg)](https://semaphoreci.com/lucasdemarchi/kmod)
[![Coverity Scan Status](https://scan.coverity.com/projects/2096/badge.svg)](https://scan.coverity.com/projects/2096) This is a ***mirror only***. Please see [README](../master/README) file for more information.