-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add flink 1.15/1.17 support add flink-it/flink-client-shaded support rebase branch pure-sbt align final jar name with maven add prefix and update project name enabled ci bump junit jdk 17 try set java.io.tmpdir Revert "try" This reverts commit 9e78f0d. try try disable parallelExecution try upload log try try try debug info print debug info try fix remove celeborn-client/test fail-fast: false test by group fix
- Loading branch information
Showing
2 changed files
with
192 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
# | ||
# 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: Celeborn SBT CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- branch-* | ||
pull_request: | ||
branches: | ||
- main | ||
- branch-* | ||
|
||
jobs: | ||
service: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: | ||
- 8 | ||
- 11 | ||
- 17 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
cache: maven | ||
check-latest: false | ||
- name: Test Service with SBT | ||
run: | | ||
build/sbt "clean; test" | ||
- name: Upload test log | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: service-${{ matrix.java }}-unit-test-log | ||
path: | | ||
**/target/test-reports/** | ||
spark2: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: | ||
- 8 | ||
spark: | ||
- '2.4' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
cache: maven | ||
check-latest: false | ||
- name: Test with SBT | ||
run: | | ||
build/sbt -Pspark-${{ matrix.spark }} "clean; celeborn-spark-group/test" | ||
- name: Upload test log | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: spark-${{ matrix.spark }}-unit-test-log | ||
path: | | ||
**/target/test-reports/** | ||
spark3: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: | ||
- 8 | ||
- 11 | ||
- 17 | ||
spark: | ||
- '3.0' | ||
- '3.1' | ||
- '3.2' | ||
- '3.3' | ||
- '3.4' | ||
exclude: | ||
# SPARK-33772: Spark supports JDK 17 since 3.3.0 | ||
- java: 17 | ||
spark: '3.0' | ||
- java: 17 | ||
spark: '3.1' | ||
- java: 17 | ||
spark: '3.2' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
cache: maven | ||
check-latest: false | ||
- name: Test with SBT | ||
run: | | ||
build/sbt -Pspark-${{ matrix.spark }} "clean; celeborn-spark-group/test" | ||
- name: Upload test log | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: spark-${{ matrix.spark }}-unit-test-log | ||
path: | | ||
**/target/test-reports/** | ||
flink: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: | ||
- 8 | ||
- 11 | ||
flink: | ||
- '1.14' | ||
- '1.15' | ||
- '1.17' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
cache: maven | ||
check-latest: false | ||
- name: Test with SBT | ||
run: | | ||
build/sbt -Pflink-${{ matrix.flink }} "clean; celeborn-flink-group/test" | ||
- name: Upload test log | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: flink-${{ matrix.flink }}-unit-test-log | ||
path: | | ||
**/target/test-reports/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters