diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4c018bcc..1312eb7f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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