Apache DataFusion SQL Query Engine
ARROW-2977: [Packaging] Release verification script should check rust too
Krisztián Szűcscbca624d592a
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.shindex 74ec61c64a..eedec4601d 100755--- a/dev/release/verify-release-candidate.sh+++ b/dev/release/verify-release-candidate.sh@@ -225,6 +225,29 @@ test_js() {popd}+test_rust() {+ # install rust toolchain in a similar fashion like test-miniconda+ export RUSTUP_HOME=`pwd`/test-rustup+ export CARGO_HOME=`pwd`/test-rustup++ curl https://sh.rustup.rs -sSf | sh -s -- -y+ source $RUSTUP_HOME/env++ # build and test rust+ pushd rust++ # raises on any formatting errors (disabled, because RC1 has a couple)+ # rustup component add rustfmt-preview+ # cargo fmt --all -- --check+ # raises on any warnings+ cargo rustc -- -D warnings++ cargo build+ cargo test++ popd+}+# Build and test Java (Requires newer Maven -- I used 3.3.9)test_package_java() {@@ -286,6 +309,7 @@ test_integrationtest_glibinstall_parquet_cpptest_python+test_rustecho 'Release candidate looks good!'exit 0