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

sunlan pushed a commit to branch danielsun/grace-joint-validation-build
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit bc7f9a731e0a65afd76fdf1db54416171872d4b6
Author: Daniel Sun <[email protected]>
AuthorDate: Sat May 18 21:44:01 2024 +0900

    Add grace joint validation build
---
 .github/workflows/grace-joint-validation.yml | 55 ++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/.github/workflows/grace-joint-validation.yml 
b/.github/workflows/grace-joint-validation.yml
new file mode 100644
index 0000000000..99266381f6
--- /dev/null
+++ b/.github/workflows/grace-joint-validation.yml
@@ -0,0 +1,55 @@
+# 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: "Grace Joint Validation Build"
+
+on: [push, pull_request]
+
+permissions:
+  contents: read
+
+jobs:
+  build:
+    strategy:
+      fail-fast: true
+    runs-on: ubuntu-latest
+    env:
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+    steps:
+      - uses: actions/checkout@v4
+      - uses: actions/setup-java@v4
+        with:
+          distribution: 'zulu'
+          java-version: 17
+          check-latest: true
+      - uses: gradle/actions/setup-gradle@v3
+      - name: env
+        run: env
+
+      # Select correct Grace branch for this build:
+      - name: Checkout Grace 2023.0.x
+        run: cd .. && git clone --depth 1 
https://github.com/graceframework/grace-framework.git -b release/2023.0.0-M6
+
+      - 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 Grace
+        run: echo "CI_GROOVY_VERSION=$(cat gradle.properties | grep 
groovyVersion | cut -d\= -f2 |  tr -d '[:space:]')" >> $GITHUB_ENV
+      - name: echo CI_GROOVY_VERSION
+        run: echo $CI_GROOVY_VERSION
+      - name: Build Grace
+        run: cd ../grace-framework && ./gradlew clean build test -x groovydoc 
-x codenarcMain -x codenarcTest -x checkstyleMain -x checkstyleTest 
--no-build-cache --no-scan --no-daemon
+        timeout-minutes: 60

Reply via email to