Skip to content

Commit

Permalink
build(ci): Add breeze GPU build and test job
Browse files Browse the repository at this point in the history
  • Loading branch information
David Reveman committed Nov 25, 2024
1 parent 747283a commit fa3b902
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/linux-build-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,42 @@ jobs:
- name: Run Tests
run: |
cd _build-breeze/debug && ctest -j 8 --output-on-failure --no-tests=error
breeze-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:
USE_CLANG: "${{ inputs.use-clang && 'true' || 'false' }}"
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
env:
VELOX_DEPENDENCY_SOURCE: BUNDLED
run: |
if [[ "${USE_CLANG}" = "true" ]]; then export CC=/usr/bin/clang-15; export CXX=/usr/bin/clang++-15; fi
cmake -S velox/experimental/breeze -B _build-breeze/relwithdebinfo \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_GENERATE_TEST_FIXTURES=OFF \
-DBUILD_CUDA=ON \
-DCMAKE_NVCC_FLAGS="-gencode;arch=compute_60,code=sm_60"
cmake --build _build-breeze/relwithdebinfo
- name: Run Tests
run: |
cd _build-breeze/relwithdebinfo && ctest -j 8 --output-on-failure --no-tests=error

0 comments on commit fa3b902

Please sign in to comment.