Skip to content

Commit

Permalink
update for building the python libs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprock committed Jun 3, 2024
1 parent f2e906b commit 9d0e5cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cmake-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d0e5cd

Please sign in to comment.