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 2024/05/12 17:23:04 UTC
(groovy) 01/01: Enable micronaut joint build validation
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch danielsun/micronaut-joint-build-for-master
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 2274e60a6f80581ae349b27af5336549faa85026
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Feb 12 03:34:08 2023 +0900
Enable micronaut joint build validation
---
.github/workflows/micronaut-joint-validation.yml | 25 ++++++++++++------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/micronaut-joint-validation.yml b/.github/workflows/micronaut-joint-validation.yml
index 219180d8f9..fb3215e537 100644
--- a/.github/workflows/micronaut-joint-validation.yml
+++ b/.github/workflows/micronaut-joint-validation.yml
@@ -17,10 +17,10 @@ name: "Micronaut Joint Validation Build"
on:
push:
branches:
- - GROOVY_3_0_X
+ - master
pull_request:
branches:
- - GROOVY_3_0_X
+ - master
permissions:
contents: read
@@ -28,16 +28,15 @@ jobs:
build:
strategy:
fail-fast: true
- matrix:
- os: [ubuntu-latest]
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-latest
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-java@v4
+ - name: Set up JDK
+ uses: actions/setup-java@v4
with:
- java-version: 11
+ java-version: 17
- uses: gradle/actions/setup-gradle@v3
- name: env
run: env
@@ -48,13 +47,13 @@ jobs:
# Clone Micronaut Repos
- name: Checkout Micronaut Core
- run: cd .. && git clone --depth 1 https://github.com/micronaut-projects/micronaut-core -b 2.3.x
+ run: cd .. && git clone --depth 1 https://github.com/micronaut-projects/micronaut-core -b 4.4.x
- name: Checkout Micronaut Groovy
- run: cd .. && git clone --depth 1 https://github.com/micronaut-projects/micronaut-groovy -b master
+ run: cd .. && git clone --depth 1 https://github.com/micronaut-projects/micronaut-groovy -b 4.1.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
+ run: ./gradlew --no-build-cache --no-daemon --no-scan clean install -x asciidoc -x docGDK -x groovydoc -x javadoc -x javadocAll -x groovydocAll
timeout-minutes: 60
- name: Set CI_GROOVY_VERSION
@@ -62,10 +61,10 @@ jobs:
- name: echo CI_GROOVY_VERSION
run: echo $CI_GROOVY_VERSION
- - name: Check Micronaut Core
- run: cd ../micronaut-core && ./gradlew clean check --no-build-cache --no-scan --no-daemon -PgroovyVersion=$CI_GROOVY_VERSION --init-script ../maven-local-init.gradle
+ - name: Test Micronaut Core
+ run: cd ../micronaut-core && ./gradlew --init-script ../maven-local-init.gradle --no-build-cache --no-daemon --no-scan clean test -x :test-suite-kotlin-ksp:test -x :discovery-core:test -x :test-suite-netty-ssl-graalvm:test -x :test-suite-kotlin:test -x :inject-kotlin:test -x :inject-kotlin-test:test -PgroovyVersion=$CI_GROOVY_VERSION
timeout-minutes: 60
- name: Check Micronaut Groovy
- run: cd ../micronaut-groovy && ./gradlew clean check --no-build-cache --no-scan --no-daemon -PgroovyVersion=$CI_GROOVY_VERSION --init-script ../maven-local-init.gradle
+ run: cd ../micronaut-groovy && ./gradlew --init-script ../maven-local-init.gradle --no-build-cache --no-daemon --no-scan clean check -PgroovyVersion=$CI_GROOVY_VERSION
timeout-minutes: 60