All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: linux-modules@vger.kernel.org
Subject: [PATCH] Add semaphoreci 2.0 configuration
Date: Tue, 18 Dec 2018 14:11:58 -0800	[thread overview]
Message-ID: <20181218221158.1454-1-lucas.demarchi@intel.com> (raw)

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)<br/>
 [![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.
-- 
2.20.0


                 reply	other threads:[~2018-12-18 22:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181218221158.1454-1-lucas.demarchi@intel.com \
    --to=lucas.demarchi@intel.com \
    --cc=linux-modules@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.