Skip to content

Commit 9ee4484

Browse files
fix[ci]: faster cuda build (#6504)
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 85fc6e8 commit 9ee4484

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,9 @@ jobs:
353353
- uses: ./.github/actions/setup-rust
354354
with:
355355
repo-token: ${{ secrets.GITHUB_TOKEN }}
356-
toolchain: nightly
356+
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }}
357357
- name: Regenerate public API lock files
358-
run: cargo +nightly xtask public-api
358+
run: cargo +$NIGHTLY_TOOLCHAIN xtask public-api
359359
- name: Verify lock files are up to date
360360
run: |
361361
if ! git diff --quiet '**/public-api.lock'; then
@@ -538,9 +538,6 @@ jobs:
538538
# Outline flat layouts for cuda scan.
539539
FLAT_LAYOUT_INLINE_ARRAY_NODE: true
540540
run: |
541-
# Build with full debug info first (helps with caching)
542-
cargo +$NIGHTLY_TOOLCHAIN build --locked -p vortex-cuda -p vortex-file -p vortex-test-e2e-cuda --all-features --target x86_64-unknown-linux-gnu
543-
# Run tests with sanitizers and debug output
544541
cargo +$NIGHTLY_TOOLCHAIN nextest run \
545542
--locked \
546543
-p vortex-file \
@@ -553,20 +550,20 @@ jobs:
553550
- name: CUDA - memcheck
554551
env:
555552
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: compute-sanitizer --tool memcheck --leak-check=full --error-exitcode 1
556-
run: cargo test -p vortex-cuda
553+
run: cargo +$NIGHTLY_TOOLCHAIN test --locked -p vortex-cuda --target x86_64-unknown-linux-gnu
557554
# TODO(joe): try to re-enable, This is hanging in CI.
558555
# - name: CUDA - racecheck
559556
# env:
560557
# CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: compute-sanitizer --tool racecheck --error-exitcode 1
561-
# run: cargo test -p vortex-cuda
558+
# run: cargo +$NIGHTLY_TOOLCHAIN test --locked -p vortex-cuda --target x86_64-unknown-linux-gnu
562559
- name: CUDA - synccheck
563560
env:
564561
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: compute-sanitizer --tool synccheck --error-exitcode 1
565-
run: cargo test -p vortex-cuda
562+
run: cargo +$NIGHTLY_TOOLCHAIN test --locked -p vortex-cuda --target x86_64-unknown-linux-gnu
566563
- name: CUDA - initcheck
567564
env:
568565
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: compute-sanitizer --tool initcheck --error-exitcode 1
569-
run: cargo test -p vortex-cuda
566+
run: cargo +$NIGHTLY_TOOLCHAIN test --locked -p vortex-cuda --target x86_64-unknown-linux-gnu
570567
- name: Build cudf test library
571568
run: cargo +$NIGHTLY_TOOLCHAIN build --locked -p vortex-test-e2e-cuda --target x86_64-unknown-linux-gnu
572569
- name: Download and run cudf-test-harness

0 commit comments

Comments
 (0)