Skip to content

Commit

Permalink
build(ci): Add breeze GPU job
Browse files Browse the repository at this point in the history
This builds and runs all Breeze tests for CUDA.
  • Loading branch information
David Reveman committed Nov 25, 2024
1 parent 1b0e535 commit 1176746
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/breeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,38 @@ jobs:
- name: Run Tests
run: |
cd _build-breeze/debug && ctest -j 8 --output-on-failure --no-tests=error
ubuntu-gpu-relwithdebinfo:
runs-on: 4-core-ubuntu-gpu-t4
# prevent errors when forks ff their main branch
if: ${{ github.repository == 'facebookincubator/velox' }}
name: "Breeze Ubuntu GPU debug"
env:
CUDA_VERSION: "12.2"
defaults:
run:
shell: bash
working-directory: velox
steps:

- uses: actions/checkout@v4
with:
path: velox

- name: Install Dependencies
run: |
source scripts/setup-ubuntu.sh && install_apt_deps && install_cuda ${CUDA_VERSION}
sudo chmod 755 -R /usr/local/lib/python3.10/dist-packages
- name: Make RelWithDebInfo Build
run: |
cmake -S velox/experimental/breeze -B _build-breeze/relwithdebinfo \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_GENERATE_TEST_FIXTURES=OFF \
-DBUILD_CUDA=ON \
-DCMAKE_NVCC_FLAGS="-arch=native"
cmake --build _build-breeze/relwithdebinfo -j 8
- name: Run Tests
run: |
cd _build-breeze/relwithdebinfo && ctest -j 8 --output-on-failure --no-tests=error

0 comments on commit 1176746

Please sign in to comment.