Skip to content

Commit

Permalink
Make the build parallel so I can use all 32 cores on my desktop :p
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Apr 22, 2023
1 parent 73dae8d commit fad47dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mini-cross-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -ex
for spark_version in 2.4.8 3.0.0 3.0.1 3.0.2 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1 3.3.2 3.4.0
do
build_dir="/tmp/spark-testing-base-$spark_version"
mkdir -p "${build_dir}"
cp -af ./ "${build_dir}"
cd ${build_dir}
sbt -DsparkVersion=$spark_version version clean +publishLocal +publishSigned &
cd -
done
wait

0 comments on commit fad47dd

Please sign in to comment.