Skip to content

Commit

Permalink
[SPARK-44962][INFRA] Add Java 21 build to build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun committed Aug 25, 2023
1 parent 994389f commit 017bc3f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
sparkr=`./dev/is-changed.py -m sparkr`
tpcds=`./dev/is-changed.py -m sql`
docker=`./dev/is-changed.py -m docker-integration-tests`
# 'build', 'scala-213', and 'java-11-17' are always true for now.
# 'build', 'scala-213', and 'java-other-versions' are always true for now.
# It does not save significant time and most of PRs trigger the build.
precondition="
{
Expand All @@ -96,7 +96,7 @@ jobs:
\"tpcds-1g\": \"$tpcds\",
\"docker-integration-tests\": \"$docker\",
\"scala-213\": \"true\",
\"java-11-17\": \"true\",
\"java-other-versions\": \"true\",
\"lint\" : \"true\",
\"k8s-integration-tests\" : \"true\",
\"breaking-changes-buf\" : \"true\",
Expand Down Expand Up @@ -755,16 +755,17 @@ jobs:
path: site.tar.bz2
retention-days: 1

java-11-17:
java-other-versions:
needs: precondition
if: fromJson(needs.precondition.outputs.required).java-11-17 == 'true'
if: fromJson(needs.precondition.outputs.required).java-other-versions == 'true'
name: Java ${{ matrix.java }} build with Maven
strategy:
fail-fast: false
matrix:
java:
- 11
- 17
- 21-ea
runs-on: ubuntu-22.04
steps:
- name: Checkout Spark repository
Expand Down

0 comments on commit 017bc3f

Please sign in to comment.