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 4721d8aa3c90d42b59e917031589733eed4f70dc 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 | 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..05016dbf35 --- /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: + - uses: actions/checkout@v2 + - name: Download JDK setup script + run: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh -P /tmp/ && chmod 755 /tmp/install-jdk.sh; + - name: Set up JDK + run: /tmp/install-jdk.sh --target "/home/runner/openjdk" --workspace "/home/runner/install-jdk" --feature "19" --license "GPL" --cacerts; + - 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'