Skip to content

Commit

Permalink
Add c++ tests to github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
markkohdev committed Aug 14, 2024
1 parent 6b725fb commit 1712632
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,31 @@ jobs:
LD_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so) \
tox
run-cpp-tests:
runs-on: ${{ matrix.os }}
continue-on-error: true
defaults:
run:
working-directory: cpp
strategy:
matrix:
# TODO: Switch back to macos-latest once https://github.com/actions/python-versions/pull/114 is fixed
os:
- 'ubuntu-latest'
- windows-latest
- macos-12
name: Test C++ on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y pkg-config
- name: Build voyager locally
run: make test


build-python-wheels:
needs: [run-python-tests, run-python-tests-with-address-sanitizer]
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 1712632

Please sign in to comment.