groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] 01/23: Add github-actions CI to support windows builds
Date Fri, 11 Oct 2019 13:54:14 GMT
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit aac41d0bff98cc772879db431d11bd858f524394
Author: Daniel.Sun <sunlan@apache.org>
AuthorDate: Thu Oct 10 16:13:52 2019 +0800

    Add github-actions CI to support windows builds
    
    (cherry picked from commit 6968ce55040e031708331fa599df0800b80661d0)
---
 .github/workflows/gradle.yml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
new file mode 100644
index 0000000..abf584b
--- /dev/null
+++ b/.github/workflows/gradle.yml
@@ -0,0 +1,35 @@
+name: Java CI
+
+on: [push, pull_request]
+
+jobs:
+  test:
+    strategy:
+      matrix:
+        os: [windows-2019]
+        java: ['12.0.2']
+    runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+      - name: Test with Gradle
+        run: ./gradlew test
+        timeout-minutes: 60
+  testWithIndy:
+    strategy:
+      matrix:
+        os: [windows-2019]
+        java: ['12.0.2']
+    runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@v1
+      - name: Set up JDK
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+      - name: Test Indy with Gradle
+        run: ./gradlew testWithIndy
+        timeout-minutes: 60


Mime
View raw message