Skip to content

Add duckdb_arrow_scan #898

Add duckdb_arrow_scan

Add duckdb_arrow_scan #898

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
RUST_BACKTRACE: 1
jobs:
Sanitizer:

Check failure on line 13 in .github/workflows/rust.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yaml (Line: 13, Col: 3): The workflow must contain at least one job with no dependencies.
name: Address Sanitizer
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Need nightly rust.
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: 'rust-src'
- name: Install LLVM
run: |
sudo apt-get install -y llvm
- name: Tests with asan
env:
RUSTFLAGS: -Zsanitizer=address -C debuginfo=0
RUSTDOCFLAGS: -Zsanitizer=address
ASAN_OPTIONS: "detect_stack_use_after_return=1:detect_leaks=1:symbolize=1"
# Work around https://github.com/rust-lang/rust/issues/59125 by
# disabling backtraces. In an ideal world we'd probably suppress the
# leak sanitization, but we don't care about backtraces here, so long
# as the other tests have them.
RUST_BACKTRACE: "0"
# We cannot run "modern-full" with asan as the chrono feature will auto-load relase binaries of
# the ICU-extension, which are not built with ASAN and will cause a crash.
run: |
export ASAN_SYMBOLIZER_PATH=$(which llvm-symbolizer)
echo $ASAN_SYMBOLIZER_PATH
cargo -Z build-std test --features "serde_json url r2d2 uuid polars extensions-full" --target x86_64-unknown-linux-gnu --package duckdb
- name: publish crates --dry-run
uses: katyo/publish-crates@v2
with:
path: './'
args: --allow-dirty --all-features
dry-run: true
ignore-unpublished-changes: true