From commits-return-12635-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Thu Jul 2 01:44:08 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 17648180638 for ; Thu, 2 Jul 2020 03:44:08 +0200 (CEST) Received: (qmail 33229 invoked by uid 500); 2 Jul 2020 01:44:07 -0000 Mailing-List: contact commits-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list commits@groovy.apache.org Received: (qmail 33219 invoked by uid 99); 2 Jul 2020 01:44:06 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2020 01:44:06 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 24000890B8; Thu, 2 Jul 2020 01:44:05 +0000 (UTC) Date: Thu, 02 Jul 2020 01:44:05 +0000 To: "commits@groovy.apache.org" Subject: [groovy] branch GROOVY_3_0_X updated: Joint build Groovy & Grails (closes #1292) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <159365424582.5469.13566823131161833296@gitbox.apache.org> From: paulk@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: groovy X-Git-Refname: refs/heads/GROOVY_3_0_X X-Git-Reftype: branch X-Git-Oldrev: 9b0e2f46f67b190125753c36b6cd1157d3e56b8d X-Git-Newrev: 390a318f6ac6ade3dcc8d3d0e725093ac707d035 X-Git-Rev: 390a318f6ac6ade3dcc8d3d0e725093ac707d035 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch GROOVY_3_0_X in repository https://gitbox.apache.org/repos/asf/groovy.git The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push: new 390a318 Joint build Groovy & Grails (closes #1292) 390a318 is described below commit 390a318f6ac6ade3dcc8d3d0e725093ac707d035 Author: Eric Helgeson AuthorDate: Sat Jun 27 20:44:47 2020 -0500 Joint build Groovy & Grails (closes #1292) --- .github/workflows/grails-joint-validation.yml | 66 +++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/.github/workflows/grails-joint-validation.yml b/.github/workflows/grails-joint-validation.yml new file mode 100644 index 0000000..1d3c168 --- /dev/null +++ b/.github/workflows/grails-joint-validation.yml @@ -0,0 +1,66 @@ +# 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: "Grails Joint Validation Build" +# GROOVY_2_5_X == Grails 4.0.x +# GROOVY_3_0_X == grails master +# Groovy master branch does not map to any due to changed package names. +on: + push: + branches: + - GROOVY_2_5_X + - GROOVY_3_0_X + # - master + pull_request: + branches: + - GROOVY_2_5_X + - GROOVY_3_0_X +# - master +jobs: + build: + strategy: + fail-fast: true + matrix: + os: [ubuntu-18.04] + java: [11.0.6] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v1 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: env + run: env + + # Select correct Grails branch for this build: + - name: Checkout Grails 4.1.x (master) + run: cd .. && git clone --depth 1 https://github.com/grails/grails-core.git -b master + if: ${{ github.ref == 'refs/heads/GROOVY_3_0_X' }} + - name: Checkout Grails 4.0.x (4.0.x) + run: cd .. && git clone --depth 1 https://github.com/grails/grails-core.git -b 4.0.x + if: ${{ github.ref == 'refs/heads/GROOVY_2_5_X' }} + + - name: Build and install groovy (no docs) + run: ./gradlew clean install -x groovydoc -x javadoc -x javadocAll -x groovydocAll -x asciidoc -x docGDK --no-build-cache --no-scan --no-daemon + timeout-minutes: 60 + + - name: Set CI_GROOVY_VERSION for Grails + run: echo "::set-env name=CI_GROOVY_VERSION::$(cat gradle.properties | grep groovyVersion | cut -d\= -f2 | tr -d '[:space:]')" + - name: echo CI_GROOVY_VERSION + run: echo $CI_GROOVY_VERSION + - name: Build Grails + run: cd ../grails-core && ./gradlew clean build test -x groovydoc --no-build-cache --no-scan --no-daemon + timeout-minutes: 60