Skip to content

Commit

Permalink
ARROW-12251: [Rust] Add Ballista to CI
Browse files Browse the repository at this point in the history
Add `cargo build` and `cargo test` steps for Ballista. I will address fmt and clippy separately.

Closes #9979 from andygrove/ballista-ci

Authored-by: Andy Grove <andygrove73@gmail.com>
Signed-off-by: Andy Grove <andygrove73@gmail.com>
  • Loading branch information
andygrove committed Apr 11, 2021
1 parent 552969f commit 13c334e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,20 @@ jobs:
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
rustup component add rustfmt
- name: Build
- name: Build Workspace
run: |
export CARGO_HOME="/github/home/.cargo"
export CARGO_TARGET_DIR="/github/home/target"
cd rust
cargo build
# Ballista is currently not part of the main workspace so requires a separate build step
- name: Build Ballista
run: |
export CARGO_HOME="/github/home/.cargo"
export CARGO_TARGET_DIR="/github/home/target"
cd rust/ballista/rust
# snmalloc requires cmake so build without default features
cargo build --no-default-features
# test the crate
linux-test:
Expand Down Expand Up @@ -131,6 +139,14 @@ jobs:
cargo run --example dynamic_types
cargo run --example read_csv
cargo run --example read_csv_infer_schema
# Ballista is currently not part of the main workspace so requires a separate test step
- name: Run Ballista tests
run: |
export CARGO_HOME="/github/home/.cargo"
export CARGO_TARGET_DIR="/github/home/target"
cd rust/ballista/rust
# snmalloc requires cmake so build without default features
cargo test --no-default-features
# test the --features "simd" of the arrow crate. This requires nightly.
linux-test-simd:
Expand Down

0 comments on commit 13c334e

Please sign in to comment.