Skip to content

Commit

Permalink
Use SWIG_ROOT to point at the binaries built by us
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Oct 1, 2024
1 parent d56afe9 commit 19054b0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,7 @@ jobs:
path: .deps/swig

- name: Install dependencies via apt
if: ${{matrix.os != 'ubuntu-24.04'}}
run: sudo apt-get install -qq ccache libeigen3-dev swig googletest

- name: Install dependencies via apt (Ubuntu-24.04-specific)
if: ${{matrix.os == 'ubuntu-24.04'}}
run: |
sudo apt-get install -qq ccache libeigen3-dev bison googletest
sudo apt-get remove -y -qq swig
run: sudo apt-get install -qq ccache libeigen3-dev googletest

- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v2
Expand Down Expand Up @@ -126,6 +119,7 @@ jobs:
cmake -S .deps/swig -B .deps/swig/build $CMAKE_CCACHE_LAUNCHER
cmake --build .deps/swig/build
sudo cmake --install .deps/swig/build
echo "SWIG_ROOT=/usr/local/bin" >> $GITHUB_ENV
- name: Configure kinematics-dynamics
run: cmake -S . -B ./build $CMAKE_CCACHE_LAUNCHER -DCREATE_BINDINGS_PYTHON=ON -DENABLE_examples=ON
Expand Down

0 comments on commit 19054b0

Please sign in to comment.