You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2022/06/24 19:49:08 UTC

[groovy] 01/01: Try jdk19

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

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

commit 3820d5bdc0f7284636ac12a7ef92670cee83083d
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Jun 25 03:48:49 2022 +0800

    Try jdk19
---
 .github/workflows/groovy-build-test-ea.yml | 38 ++++++++++++++++++++++++++++++
 .travis.yml                                |  4 ++--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/groovy-build-test-ea.yml b/.github/workflows/groovy-build-test-ea.yml
new file mode 100644
index 0000000000..00c9eb606d
--- /dev/null
+++ b/.github/workflows/groovy-build-test-ea.yml
@@ -0,0 +1,38 @@
+# 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 and test ea
+
+on: [push, pull_request]
+
+jobs:
+  test:
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-18.04]
+        java: [17]
+    runs-on: ${{ matrix.os }}
+    steps:
+      - name: Download JDK
+        run: wget -P /tmp/ https://download.java.net/java/early_access/jdk19/28/GPL/openjdk-19-ea+28_linux-x64_bin.tar.gz
+      - name: Set up JDK
+        run: tar -xvf /tmp/openjdk-19-ea+28_linux-x64_bin.tar.gz -C /home/runner/openjdk && chmod -R 755 /home/runner/openjdk
+      - uses: actions/checkout@v2
+      - name: Test with Gradle
+        run: ./gradlew test -Ptarget.java.home=/home/runner/openjdk
+        timeout-minutes: 60
+        env:
+          GRADLE_SCANS_ACCEPT: yes
diff --git a/.travis.yml b/.travis.yml
index e9e489f786..10c667e2dd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,8 +25,8 @@ install:
 
 matrix:
   include:
-#    - env: BC='indy' FEATURE='19' TARGET_JAVA_HOME="/home/travis/openjdk$FEATURE" LICENSE='GPL'
-#      jdk: openjdk17
+    - env: BC='indy' FEATURE='19' TARGET_JAVA_HOME="/home/travis/openjdk$FEATURE" LICENSE='GPL'
+      jdk: openjdk17
     - env: BC='indy' FEATURE='18' TARGET_JAVA_HOME="/home/travis/openjdk$FEATURE" LICENSE='GPL'
       jdk: openjdk17
     - env: BC='indy'