From 1712632c01bfa14a6329440cb9d5ca00004be32b Mon Sep 17 00:00:00 2001 From: Mark Koh Date: Wed, 14 Aug 2024 12:54:09 -0600 Subject: [PATCH] Add c++ tests to github workflows --- .github/workflows/all.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index 98cb2a65..013135cf 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -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 }}