Skip to content

Add bulk query routine #47

Add bulk query routine

Add bulk query routine #47

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Install Valgrind
run: sudo apt-get update && sudo apt-get install -y valgrind
- name: memcheck
run: |
cargo test -p rtree-capi c_api -- --nocapture
LD_LIBRARY_PATH=target/debug valgrind \
--tool=memcheck \
--leak-check=full \
--show-leak-kinds=all \
--track-origins=yes \
--error-exitcode=99 \
target/debug/test_c_api