|
1 | 1 | name: CI |
2 | 2 |
|
| 3 | +# Concurrency control: |
| 4 | +# - PRs: new commits on a feature branch will cancel in-progress (outdated) runs. |
| 5 | +# - Push to develop: runs queue sequentially, never cancelled. This allows us to have benchmarks |
| 6 | +# run on every commit for our benchmarks website. |
| 7 | +# - `workflow_dispatch`: groups by branch and queues if run on develop. |
3 | 8 | concurrency: |
4 | 9 | group: ${{ github.workflow }}-${{ github.ref }} |
5 | 10 | cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} |
6 | | - |
7 | | -on: [push, pull_request, workflow_dispatch] |
| 11 | +on: |
| 12 | + push: |
| 13 | + branches: [develop] |
| 14 | + pull_request: { } |
| 15 | + workflow_dispatch: { } |
8 | 16 |
|
9 | 17 | permissions: |
10 | 18 | actions: read |
@@ -383,6 +391,8 @@ jobs: |
383 | 391 | tool: nextest |
384 | 392 | - name: Rust Tests |
385 | 393 | if: ${{ matrix.suite == 'tests' }} |
| 394 | + env: |
| 395 | + RUSTFLAGS: "-Cinstrument-coverage -A warnings --cfg vortex_nightly" |
386 | 396 | run: | |
387 | 397 | cargo +nightly nextest run --locked --workspace --all-features --no-fail-fast |
388 | 398 | - name: Run TPC-H |
@@ -429,7 +439,7 @@ jobs: |
429 | 439 | - tag=rust-test-sanitizer |
430 | 440 | env: |
431 | 441 | # Add debug symbols and enable ASAN/LSAN with better output |
432 | | - RUSTFLAGS: "-A warnings -Zsanitizer=address -Zsanitizer=leak --cfg disable_loom -C debuginfo=2 -C opt-level=0 -C strip=none" |
| 442 | + RUSTFLAGS: "-A warnings -Zsanitizer=address -Zsanitizer=leak --cfg disable_loom --cfg vortex_nightly -C debuginfo=2 -C opt-level=0 -C strip=none" |
433 | 443 | 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" |
434 | 444 | LSAN_OPTIONS: "verbosity=1:report_objects=1" |
435 | 445 | ASAN_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer" |
@@ -669,7 +679,7 @@ jobs: |
669 | 679 | timeout-minutes: 120 |
670 | 680 | env: |
671 | 681 | MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-env-forward=RUST_BACKTRACE |
672 | | - RUSTFLAGS: "-A warnings" |
| 682 | + RUSTFLAGS: "-A warnings --cfg vortex_nightly" |
673 | 683 | RUST_BACKTRACE: full |
674 | 684 | steps: |
675 | 685 | - uses: actions/checkout@v6 |
|
0 commit comments