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 d65f33ac26680dc731976ce23871acd17abb9973 Author: Daniel Sun <sun...@apache.org> AuthorDate: Sat Jun 25 02:00:50 2022 +0800 Try jdk19 build --- .github/workflows/groovy-build-test-ea.yml | 40 ++++++++++++++++++++++++++++++ .travis.yml | 4 +-- 2 files changed, 42 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..79422e5e60 --- /dev/null +++ b/.github/workflows/groovy-build-test-ea.yml @@ -0,0 +1,40 @@ +# 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: + - uses: actions/checkout@v2 + - name: Set up sdkman + run: curl -s "https://get.sdkman.io" | bash + - name: Init sdkman + run: source "/home/runner/.sdkman/bin/sdkman-init.sh" + - name: Set up JDK + run: sdk install java 19.ea.28-open /home/runner/openjdk + - 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'