diff --git a/.github/workflows/linux-build-base.yml b/.github/workflows/linux-build-base.yml index e349fcbf69e3d..8c52f1deaca60 100644 --- a/.github/workflows/linux-build-base.yml +++ b/.github/workflows/linux-build-base.yml @@ -176,3 +176,36 @@ jobs: - name: Run Tests run: | cd _build/debug && ctest -j 8 --output-on-failure --no-tests=error + + breeze-ubuntu-debug: + runs-on: 8-core-ubuntu + # prevent errors when forks ff their main branch + if: ${{ github.repository == 'facebookincubator/velox' }} + name: "Breeze Ubuntu debug" + env: + USE_CLANG: "${{ inputs.use-clang && 'true' || 'false' }}" + 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 + + - name: Make Debug 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/debug -DCMAKE_BUILD_TYPE=Debug -DBUILD_OPENMP=ON + cmake --build _build-breeze/debug + + - name: Run Tests + run: | + cd _build-breeze/debug && ctest -j 8 --output-on-failure --no-tests=error