Skip to content

Commit

Permalink
build(ci): Add breeze build and test job
Browse files Browse the repository at this point in the history
  • Loading branch information
David Reveman committed Nov 24, 2024
1 parent f469ed0 commit 6950078
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/linux-build-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6950078

Please sign in to comment.