From 9d0e5cdc9c4260a169a6775695455c036c876a2f Mon Sep 17 00:00:00 2001 From: Andrew Prock Date: Mon, 3 Jun 2024 08:56:30 -0700 Subject: [PATCH] update for building the python libs --- .github/workflows/cmake-build-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-build-test.yml b/.github/workflows/cmake-build-test.yml index af10494..888145f 100644 --- a/.github/workflows/cmake-build-test.yml +++ b/.github/workflows/cmake-build-test.yml @@ -20,15 +20,16 @@ jobs: - uses: actions/checkout@v4 # cmake should already be installed + # swig is used for building the python bindings - name: Install boost run: | sudo apt-get -y update - sudo apt-get -y install libboost-all-dev + sudo apt-get -y install libboost-all-dev swig - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_PYTHON=ON - name: Build # Build your program with the given configuration