@@ -236,8 +236,9 @@ jobs:
236236 run : rustup target add wasm32-unknown-unknown
237237 - name : Install cargo-hack
238238 uses : taiki-e/install-action@cargo-hack
239- - name : Rust Build (${{matrix.config.name}})
240- run : ${{matrix.config.env.rustflags}} cargo hack build --locked ${{matrix.config.args}} --ignore-private
239+ - uses : ./.github/actions/check-rebuild
240+ with :
241+ command : " ${{matrix.config.env.rustflags}} cargo hack build --locked ${{matrix.config.args}} --ignore-private"
241242 - name : " Make sure no files changed after build"
242243 run : |
243244 git status --porcelain
@@ -497,14 +498,12 @@ jobs:
497498 - uses : ./.github/actions/setup-rust
498499 with :
499500 repo-token : ${{ secrets.GITHUB_TOKEN }}
500- - name : Build CUDA crates
501- run : |
502- cargo build --locked --all-features --all-targets \
503- -p vortex-cuda \
504- -p vortex-cub \
505- -p vortex-nvcomp \
506- -p gpu-scan-cli \
507- -p vortex-test-e2e-cuda
501+ - uses : ./.github/actions/check-rebuild
502+ with :
503+ command : >-
504+ cargo build --locked --all-features --all-targets
505+ -p vortex-cuda -p vortex-cub -p vortex-nvcomp
506+ -p gpu-scan-cli -p vortex-test-e2e-cuda
508507 - name : Clippy CUDA crates
509508 run : |
510509 cargo clippy --locked --all-features --all-targets \
@@ -658,6 +657,10 @@ jobs:
658657 if : matrix.os != 'windows-x64'
659658 run : |
660659 cargo nextest run --locked --workspace --all-features --no-fail-fast --exclude vortex-bench --exclude xtask --exclude vortex-sqllogictest
660+ - uses : ./.github/actions/check-rebuild
661+ if : matrix.os != 'windows-x64'
662+ with :
663+ command : " cargo test --locked --workspace --all-features --no-run --exclude vortex-bench --exclude xtask --exclude vortex-sqllogictest"
661664
662665 - name : Alert incident.io
663666 if : failure() && github.event_name == 'push' && github.ref == 'refs/heads/develop'
@@ -780,6 +783,9 @@ jobs:
780783 cmake -S vortex-cxx/examples -B vortex-cxx/examples/build -DCMAKE_BUILD_TYPE=Release
781784 cmake --build vortex-cxx/examples/build --parallel $(nproc)
782785 vortex-cxx/examples/build/hello-vortex vortex-cxx/examples/goldenfiles/example.vortex
786+ - uses : ./.github/actions/check-rebuild
787+ with :
788+ command : " cargo build --locked -p vortex-cxx --lib"
783789
784790 sqllogic-test :
785791 name : " SQL logic tests"
@@ -805,7 +811,9 @@ jobs:
805811 run : |
806812 ./vortex-sqllogictest/slt/tpch/generate_data.sh
807813 cargo test -p vortex-sqllogictest --test sqllogictests
808-
814+ - uses : ./.github/actions/check-rebuild
815+ with :
816+ command : " cargo test -p vortex-sqllogictest --test sqllogictests --no-run"
809817
810818 wasm-integration :
811819 name : " wasm-integration"
0 commit comments