Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ jobs:
git status --porcelain
test -z "$(git status --porcelain)"
- name: Prune cache
if: github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true'
if: ${{ github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true' }}
run: cargo sweep --file

check-min-deps:
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
- name: Rust Lint - Clippy Default Features
run: cargo clippy --locked --all-targets -- -D warnings
- name: Prune cache
if: github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true'
if: ${{ github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true' }}
run: cargo sweep --file

rust-lint-no-default:
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
# https://spiraldb.slack.com/archives/C07BV3GKAJ2/p1732736281946729
cargo hack clippy --no-default-features -- -D warnings
- name: Prune cache
if: github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true'
if: ${{ github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true' }}
run: cargo sweep --file

rust-semver:
Expand Down Expand Up @@ -399,6 +399,7 @@ jobs:
uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
timestamp: "true"
- name: Install grcov
uses: taiki-e/install-action@grcov
- name: Install nextest
Expand Down Expand Up @@ -444,7 +445,7 @@ jobs:
flags: ${{ matrix.suite }}
use_oidc: true
- name: Prune cache
if: github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true'
if: ${{ github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true' }}
run: cargo sweep --file

rust-test:
Expand All @@ -459,7 +460,6 @@ jobs:
- tag=rust-test-sanitizer
env:
# Add debug symbols and enable ASAN/LSAN with better output
RUSTFLAGS: "-A warnings -Zsanitizer=address -Zsanitizer=leak --cfg disable_loom --cfg vortex_nightly -C debuginfo=2 -C opt-level=0 -C strip=none"
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"
LSAN_OPTIONS: "verbosity=1:report_objects=1"
ASAN_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer"
Expand Down Expand Up @@ -495,6 +495,8 @@ jobs:
with:
tool: nextest
- name: Rust Tests
env:
RUSTFLAGS: "-A warnings -Zsanitizer=address -Zsanitizer=leak --cfg disable_loom --cfg vortex_nightly -C debuginfo=2 -C opt-level=0 -C strip=none"
run: |
# Build with full debug info first (helps with caching)
cargo +nightly build --locked --workspace --all-features --target x86_64-unknown-linux-gnu
Expand All @@ -507,7 +509,7 @@ jobs:
--target x86_64-unknown-linux-gnu \
--verbose
- name: Prune cache
if: github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true'
if: ${{ github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true' }}
run: cargo sweep --file

rust-test-other:
Expand Down Expand Up @@ -561,7 +563,7 @@ jobs:
if: matrix.os != 'windows-x64'
run: cargo nextest run --locked --workspace --all-features --no-fail-fast --exclude vortex-bench --exclude vortex-duckdb
- name: Prune cache
if: github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true'
if: ${{ github.ref_name == 'develop' && steps.setup-rust.outputs.deps-cache-hit != 'true' }}
run: cargo sweep --file

build-java:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,6 @@ compile_commands.json
# Claude
.claude

# cargo sweep output
sweep.timestamp

Loading