You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/09/29 05:25:57 UTC

[incubator-streampark] branch dev updated: [Improve] Build with scala_2.11 during the CI (#1709)

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

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 32d7df6cc [Improve] Build with scala_2.11 during the CI (#1709)
32d7df6cc is described below

commit 32d7df6cca653d2723d002f6e321450bddec4a03
Author: 1996fanrui <19...@gmail.com>
AuthorDate: Thu Sep 29 13:25:51 2022 +0800

    [Improve] Build with scala_2.11 during the CI (#1709)
---
 .github/workflows/maven.yml | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 60088dc94..b3dcc7981 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -48,6 +48,7 @@ jobs:
 
   build:
     runs-on: ubuntu-latest
+    name: Build with Scala_2.11
     steps:
       - uses: actions/checkout@v3
       - name: Set up JDK 8
@@ -56,10 +57,10 @@ jobs:
           java-version: '8'
           distribution: 'adopt'
           cache: maven
-      - name: Build with Maven
-        run: mvn -B clean package -DskipTests
+      - name: Build with Scala_2.11
+        run: mvn -B clean package -Dscala.version=2.11.12 -Dscala.binary.version=2.11 -DskipTests
       - name: Test with Maven
-        run: mvn -B test -pl '!streampark-plugin/streampark-jvm-profiler,!streampark-console/streampark-console-service' -am
+        run: mvn -B test -Dscala.version=2.11.12 -Dscala.binary.version=2.11 -pl '!streampark-plugin/streampark-jvm-profiler,!streampark-console/streampark-console-service' -am
 #      - name: Setup Go
 #        uses: actions/setup-go@v3
 #        with:
@@ -68,3 +69,19 @@ jobs:
 #        run: |
 #          go install github.com/apache/skywalking-eyes/cmd/license-eye@47febf5
 #          license-eye dependency resolve --summary ./dist-material/release-docs/LICENSE.tpl
+
+  build2:
+    runs-on: ubuntu-latest
+    name: Build with Scala_2.12
+    steps:
+      - uses: actions/checkout@v3
+      - name: Set up JDK 8
+        uses: actions/setup-java@v3
+        with:
+          java-version: '8'
+          distribution: 'adopt'
+          cache: maven
+      - name: Build with Scala_2.12
+        run: mvn -B clean package -Dscala.version=2.12.8 -Dscala.binary.version=2.12 -DskipTests
+      - name: Test with Maven
+        run: mvn -B test -Dscala.version=2.12.8 -Dscala.binary.version=2.12 -pl '!streampark-plugin/streampark-jvm-profiler,!streampark-console/streampark-console-service' -am