You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2023/12/19 20:43:04 UTC
(sedona) branch fix-examples updated: Update CI
This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch fix-examples
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/fix-examples by this push:
new 879d107c7 Update CI
879d107c7 is described below
commit 879d107c7840e4f9547cc97031141c4c35e0d15c
Author: Jia Yu <ji...@apache.org>
AuthorDate: Tue Dec 19 12:42:57 2023 -0800
Update CI
---
.github/workflows/example.yml | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml
index 2c95d5b71..c87aa9579 100644
--- a/.github/workflows/example.yml
+++ b/.github/workflows/example.yml
@@ -15,6 +15,20 @@ jobs:
build:
runs-on: ubuntu-22.04
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - spark: 3.4.2
+ spark-compat: 3.4
+ sedona: 1.5.0
+ - spark: 3.5.0
+ spark-compat: 3.4
+ sedona: 1.5.0
+ - spark: 3.3.4
+ spark-compat: 3.0
+ sedona: 1.5.0
+
steps:
- uses: actions/checkout@v2
@@ -42,7 +56,9 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- - run: (cd examples/spark-rdd-colocation-mining;sbt clean assembly;java -jar target/scala-2.12/*.jar)
- - run: (cd examples/spark-sql;sbt clean assembly;java -jar target/scala-2.12/*.jar)
- - run: (cd examples/spark-viz;sbt clean assembly;java -jar target/scala-2.12/*.jar)
- - run: (cd examples/flink-sql;mvn clean install;java -jar target/sedona-flink-example-1.0.0.jar)
\ No newline at end of file
+ - env:
+ SPARK_VERSION: ${{ matrix.spark }}
+ SPARK_COMPAT_VERSION: ${{ matrix.spark-compat }}
+ SEDONA_VERSION: ${{ matrix.sedona }}
+ - run: (cd examples/spark-sql;mvn clean install -Dspark.version=${SPARK_VERSION} -Dspark.compat.version=${SPARK_COMPAT_VERSION} -Dsedona.version=${SEDONA_VERSION};java -jar target/sedona-spark-example-1.0.0.jar)
+ - run: (cd examples/flink-sql;mvn clean install -D;java -jar target/sedona-flink-example-1.0.0.jar)
\ No newline at end of file