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 11:27:33 UTC

[qpid-proton-j] branch master updated: NO-JIRA: add 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-proton-j.git


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

commit 7641732d0847d0b708bd25c2903a4e067343483d
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Fri Jul 10 12:01:14 2020 +0100

    NO-JIRA: add 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 9287d70..e48b16a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,6 +109,7 @@
           <excludes combine.children="append">
             <exclude>appveyor.yml</exclude>
             <exclude>.travis.yml</exclude>
+            <exclude>.github/workflows/*.yml</exclude>
             <exclude>.mailmap</exclude>
             <exclude>**/*.md</exclude>
             <exclude>**/*.pkcs12</exclude>


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