You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2020/07/10 10:57:08 UTC

[qpid-jms] branch master updated: NO-JIRA: add a GitHub Actions CI workflow

This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git


The following commit(s) were added to refs/heads/master by this push:
     new 0bc1bc1  NO-JIRA: add a GitHub Actions CI workflow
0bc1bc1 is described below

commit 0bc1bc169588d671c67801dace471389531b0009
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Fri Jul 10 11:55:42 2020 +0100

    NO-JIRA: add a GitHub Actions CI workflow
---
 .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++
 pom.xml                     |  1 +
 2 files changed, 29 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..e13fefe
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,28 @@
+name: "Build"
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    runs-on: ubuntu-18.04
+    strategy:
+      fail-fast: false
+      matrix:
+        java: [ 8, 11, 14 ]
+
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/cache@v2
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
+
+      - name: Install JDK ${{ matrix.java }}
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+
+      - name: Build
+        run: mvn -B clean verify
diff --git a/pom.xml b/pom.xml
index ceed5d8..a352b48 100644
--- a/pom.xml
+++ b/pom.xml
@@ -335,6 +335,7 @@
           <excludes>
             <exclude>appveyor.yml</exclude>
             <exclude>.travis.yml</exclude>
+            <exclude>.github/workflows/*.yml</exclude>
             <exclude>**/*.md</exclude>
             <exclude>**/*.txt</exclude>
             <exclude>etc/org.eclipse.*</exclude>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org