Skip to content

Commit

Permalink
Build SWIG from sources
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Sep 20, 2024
1 parent c5a6dda commit 9ae300b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,14 @@ jobs:
repository: orocos/orocos_kinematics_dynamics
path: .deps/kdl

- name: Check out SWIG
uses: actions/checkout@v4
with:
repository: swig/swig
path: .deps/kdl

- name: Install dependencies via apt
run: sudo apt-get install -qq ccache libeigen3-dev swig googletest
run: sudo apt-get install -qq ccache libeigen3-dev bison googletest

- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v2
Expand Down Expand Up @@ -105,6 +111,12 @@ jobs:
cmake --build .deps/kdl/orocos_kdl/build
sudo cmake --install .deps/kdl/orocos_kdl/build
- name: Build SWIG
run: |
cmake -S .deps/swig -B .deps/swig/build $CMAKE_CCACHE_LAUNCHER
cmake --build .deps/swig/build
sudo cmake --install .deps/swig/build
- 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 9ae300b

Please sign in to comment.