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:30 UTC

[groovy] 02/02: Add JDK19 build

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