You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by dj...@apache.org on 2020/03/13 17:41:37 UTC

[gora] branch master updated: GORA-644 (#201)

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

djkevincr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gora.git


The following commit(s) were added to refs/heads/master by this push:
     new 736d457  GORA-644 (#201)
736d457 is described below

commit 736d457cd9ba1243858477c7218585858c70060c
Author: Madhawa Gunasekara <st...@stud.uni-stuttgart.de>
AuthorDate: Fri Mar 13 18:41:28 2020 +0100

    GORA-644 (#201)
---
 .github/workflows/master-pr-build.yml   | 37 +++++++++++++++++++++++++++++++++
 .github/workflows/master-push-build.yml | 37 +++++++++++++++++++++++++++++++++
 README.md                               |  1 +
 3 files changed, 75 insertions(+)

diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml
new file mode 100644
index 0000000..590833f
--- /dev/null
+++ b/.github/workflows/master-pr-build.yml
@@ -0,0 +1,37 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: master pr build
+
+on:
+  pull_request:
+    branches:
+      - master
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: [ '1.8' ]
+    steps:
+    - uses: actions/checkout@v1
+    - name: Set up JDK ${{ matrix.java }}
+      uses: actions/setup-java@v1
+      with:
+        java-version: ${{ matrix.java }}
+    - name: mvn sourcecheck
+      run: mvn clean install
\ No newline at end of file
diff --git a/.github/workflows/master-push-build.yml b/.github/workflows/master-push-build.yml
new file mode 100644
index 0000000..29d5746
--- /dev/null
+++ b/.github/workflows/master-push-build.yml
@@ -0,0 +1,37 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: build
+
+on:
+  push:
+    branches:
+      - master
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: [ '1.8' ]
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+      - name: mvn sourcecheck
+        run: mvn clean install
\ No newline at end of file
diff --git a/README.md b/README.md
index 79e2ca1..e696c10 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,7 @@
 
 <img src="http://gora.apache.org/resources/img/powered-by-gora.png" align="right" width="300" />
 
+[![CI](https://github.com/apache/gora/workflows/CI/badge.svg?branch=master)](https://github.com/apache/gora/actions?query=workflow%3ACI)
 [![license](https://img.shields.io/github/license/apache/gora.svg?maxAge=2592000?style=plastic)](http://www.apache.org/licenses/LICENSE-2.0)
 [![Jenkins](https://img.shields.io/jenkins/s/https/builds.apache.org/gora-trunk.svg?maxAge=2592000?style=plastic)](https://builds.apache.org/job/gora-trunk/)
 [![Jenkins tests](https://img.shields.io/jenkins/t/https/builds.apache.org/gora-trunk.svg?maxAge=2592000?style=plastic)](https://builds.apache.org/job/gora-trunk)