Skip to content

Commit 13c334e

Browse files
committed
ARROW-12251: [Rust] Add Ballista to CI
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>
1 parent 552969f commit 13c334e

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/rust.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,20 @@ jobs:
6666
rustup toolchain install ${{ matrix.rust }}
6767
rustup default ${{ matrix.rust }}
6868
rustup component add rustfmt
69-
- name: Build
69+
- name: Build Workspace
7070
run: |
7171
export CARGO_HOME="/github/home/.cargo"
7272
export CARGO_TARGET_DIR="/github/home/target"
7373
cd rust
7474
cargo build
75+
# Ballista is currently not part of the main workspace so requires a separate build step
76+
- name: Build Ballista
77+
run: |
78+
export CARGO_HOME="/github/home/.cargo"
79+
export CARGO_TARGET_DIR="/github/home/target"
80+
cd rust/ballista/rust
81+
# snmalloc requires cmake so build without default features
82+
cargo build --no-default-features
7583
7684
# test the crate
7785
linux-test:
@@ -131,6 +139,14 @@ jobs:
131139
cargo run --example dynamic_types
132140
cargo run --example read_csv
133141
cargo run --example read_csv_infer_schema
142+
# Ballista is currently not part of the main workspace so requires a separate test step
143+
- name: Run Ballista tests
144+
run: |
145+
export CARGO_HOME="/github/home/.cargo"
146+
export CARGO_TARGET_DIR="/github/home/target"
147+
cd rust/ballista/rust
148+
# snmalloc requires cmake so build without default features
149+
cargo test --no-default-features
134150
135151
# test the --features "simd" of the arrow crate. This requires nightly.
136152
linux-test-simd:

0 commit comments

Comments
 (0)