From eaa4849811e44328b1c81dd3a4c70e4d4c633fe1 Mon Sep 17 00:00:00 2001 From: Andrew Prock Date: Thu, 26 Sep 2024 18:39:45 -0700 Subject: [PATCH] update github workflow --- .github/workflows/cmake-build-test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake-build-test.yml b/.github/workflows/cmake-build-test.yml index 888145f..7ccb4ce 100644 --- a/.github/workflows/cmake-build-test.yml +++ b/.github/workflows/cmake-build-test.yml @@ -21,15 +21,15 @@ jobs: # cmake should already be installed # swig is used for building the python bindings - - name: Install boost + - name: Install build tools run: | sudo apt-get -y update - sudo apt-get -y install libboost-all-dev swig + sudo apt-get -y install libboost-all-dev swig pipx - 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}} -DBUILD_PYTHON=ON + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build # Build your program with the given configuration @@ -40,3 +40,7 @@ jobs: # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: ctest -C ${{env.BUILD_TYPE}} + + - name: Build Wheel + run: pipx run build +