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/12/14 19:37:28 UTC

[groovy] branch GROOVY_4_0_X updated (3abf79e308 -> 39be1d9d98)

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

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


    from 3abf79e308 Build with JDK20 ea
     new 55cbab044c Set source and target version to `8` in `GroovycTest`
     new 39be1d9d98 Add JDK19 build

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../{groovy-build-test.yml => groovy-build-test-19.yml}  | 16 ++++++++++------
 .../org/codehaus/groovy/ant/GroovycTest.xml              |  2 +-
 2 files changed, 11 insertions(+), 7 deletions(-)
 copy .github/workflows/{groovy-build-test.yml => groovy-build-test-19.yml} (82%)


[groovy] 01/02: Set source and target version to `8` in `GroovycTest`

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 55cbab044cb521372c7aae3bb98e11add0b56db6
Author: Daniel Sun <su...@apache.org>
AuthorDate: Thu Dec 15 03:36:54 2022 +0800

    Set source and target version to `8` in `GroovycTest`
---
 .../src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml b/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml
index 524b2df05b..0f27303941 100644
--- a/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml
+++ b/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml
@@ -25,7 +25,7 @@
     <property name="srcPath" value="."/>
     <property name="destPath" value="${user.dir}/build/classes/groovy/test"/>
 
-    <property name="javaVersion" value="7"/>
+    <property name="javaVersion" value="8"/>
 
     <path id="groovyMaterials">
         <pathelement path="${java.class.path}"/>


[groovy] 02/02: Add JDK19 build

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 39be1d9d9869a83be177cc17b67770c917d5e8ff
Author: Daniel Sun <su...@apache.org>
AuthorDate: Thu Dec 15 03:37:13 2022 +0800

    Add JDK19 build
---
 .github/workflows/groovy-build-test-19.yml | 43 ++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/.github/workflows/groovy-build-test-19.yml b/.github/workflows/groovy-build-test-19.yml
new file mode 100644
index 0000000000..86933d0677
--- /dev/null
+++ b/.github/workflows/groovy-build-test-19.yml
@@ -0,0 +1,43 @@
+# 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 19
+
+on: [push, pull_request]
+
+permissions:
+  contents: read
+
+jobs:
+  test:
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-20.04]
+    runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@v3
+      - name: Set up JDKs
+        uses: actions/setup-java@v3
+        with:
+          distribution: 'zulu'
+          java-version: |
+            19
+            17
+          check-latest: true
+      - uses: gradle/gradle-build-action@v2
+      - name: Test with Gradle
+        run: ./gradlew test -Ptarget.java.home=${{ env.JAVA_HOME_19_X64 }}
+        timeout-minutes: 60