Skip to content

Commit cedb874

Browse files
authored
chore: use DuckDB debug build in Rust tests (sanitizer) (#4718)
1 parent de3117f commit cedb874

File tree

1 file changed

+9
-31
lines changed

1 file changed

+9
-31
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,8 @@ jobs:
345345
ASAN_OPTIONS: "symbolize=1:print_stats=1:check_initialization_order=1:detect_leaks=1:halt_on_error=0:verbosity=1:leak_check_at_exit=1"
346346
LSAN_OPTIONS: "verbosity=1:report_objects=1"
347347
ASAN_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer"
348+
# Link against DuckDB debug build
349+
VX_DUCKDB_DEBUG: "1"
348350
# Keep frame pointers for better stack traces
349351
CARGO_PROFILE_DEV_DEBUG: "true"
350352
CARGO_PROFILE_TEST_DEBUG: "true"
@@ -361,6 +363,10 @@ jobs:
361363
with:
362364
toolchain: nightly
363365
components: "rust-src, rustfmt, clippy, llvm-tools-preview"
366+
- name: Install build dependencies
367+
run: |
368+
sudo apt-get update
369+
sudo apt-get install -y ninja-build cmake
364370
- name: Install nextest
365371
uses: taiki-e/install-action@v2
366372
with:
@@ -376,37 +382,9 @@ jobs:
376382
--all-features \
377383
--no-fail-fast \
378384
--target x86_64-unknown-linux-gnu \
379-
--verbose
380-
381-
vortex-duckdb-test:
382-
name: "Rust tests (vortex-duckdb)"
383-
timeout-minutes: 120
384-
runs-on:
385-
- runs-on=${{ github.run_id }}
386-
- family=m7i+m7i-flex+m7a
387-
- cpu=8
388-
- image=ubuntu24-full-x64
389-
- extras=s3-cache
390-
- tag=vortex-duckdb-test
391-
env:
392-
VX_DUCKDB_DEBUG: "1"
393-
steps:
394-
- uses: runs-on/action@v2
395-
with:
396-
sccache: s3
397-
- uses: actions/checkout@v5
398-
- name: Install build dependencies
399-
run: |
400-
sudo apt-get update
401-
sudo apt-get install -y ninja-build cmake
402-
- uses: ./.github/actions/setup-rust
403-
- name: Install nextest
404-
uses: taiki-e/install-action@v2
405-
with:
406-
407-
- name: Vortex DuckDB tests
408-
run: |
409-
cargo nextest run -p vortex-duckdb -- --skip test_vortex_scan_ultra_deep_nesting
385+
--verbose \
386+
-- \
387+
--skip test_vortex_scan_ultra_deep_nesting
410388
411389
build-java:
412390
name: "Java"

0 commit comments

Comments
 (0)