Skip to content

Commit

Permalink
add to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 committed Feb 3, 2022
1 parent e4a056f commit 43ef89f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,18 @@ jobs:
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
rustup component add rustfmt
- name: Build Workspace
- name: Build workspace in debug mode
run: |
cargo build
env:
CARGO_HOME: "/github/home/.cargo"
CARGO_TARGET_DIR: "/github/home/target"
CARGO_TARGET_DIR: "/github/home/target/debug"
- name: Build workspace in release mode
run: |
cargo build --release
env:
CARGO_HOME: "/github/home/.cargo"
CARGO_TARGET_DIR: "/github/home/target/release"
- name: Check DataFusion Build without default features
run: |
cargo check --no-default-features -p datafusion
Expand Down
1 change: 0 additions & 1 deletion datafusion/src/physical_plan/tdigest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ impl TDigest {
}

fn merge_sorted_f64(&self, sorted_values: &[OrderedFloat<f64>]) -> TDigest {
#[cfg(debug_assertions)]
debug_assert!(is_sorted(sorted_values), "unsorted input to TDigest");

if sorted_values.is_empty() {
Expand Down

0 comments on commit 43ef89f

Please sign in to comment.