You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2019/11/10 20:15:17 UTC

[calcite-avatica] branch master updated: Use GitHub Actions for Windows CI

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

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/master by this push:
     new a67a3df  Use GitHub Actions for Windows CI
a67a3df is described below

commit a67a3dfb0afb621df7f774fff8ef16954bf27e94
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Sun Nov 10 23:01:12 2019 +0300

    Use GitHub Actions for Windows CI
---
 .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++
 README.md                  |  2 +-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..3abba03
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,28 @@
+name: CI
+
+on:
+  push:
+    branches:
+      - '*'
+  pull_request:
+    branches:
+      - '*'
+
+# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners
+
+jobs:
+  windows:
+    name: 'Windows (JDK 11)'
+    runs-on: windows-latest
+    steps:
+    - uses: actions/checkout@master
+      with:
+        fetch-depth: 50
+    - name: 'Set up JDK 11'
+      uses: actions/setup-java@v1
+      with:
+        java-version: 11
+    - name: 'Test'
+      shell: bash
+      run: |
+        ./gradlew --no-parallel build -x distTar
diff --git a/README.md b/README.md
index ffd1ab0..5e894a0 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ limitations under the License.
 {% endcomment %}
 -->
 [![Build Status](https://travis-ci.org/apache/calcite-avatica.svg?branch=master)](https://travis-ci.org/apache/calcite-avatica)
-[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/gjd9n5gjbldt0gg8/branch/master?svg=true)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/calcite-avatica)
+[![CI Status](https://github.com/apache/calcite-avatica/workflows/CI/badge.svg)](https://github.com/apache/calcite-avatica/actions)
 
 # Apache Calcite -- Avatica