Skip to content

Commit

Permalink
ci: Try to remove version conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Dec 3, 2024
1 parent 8adc5b2 commit 5546f8d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
steps:
- name: Setup Container
run: |
apt update && DEBIAN_FRONTEND="noninteractive" apt install -y sudo lsb-release gnupg2 cmake git python3
apt-get -qq update
DEBIAN_FRONTEND="noninteractive" apt-get -qq install -y lsb-release gnupg2 cmake git python3
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down Expand Up @@ -81,10 +83,11 @@ jobs:
run: |
sh -c "echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg\" >> /etc/apt/sources.list "
apt-key adv --fetch-keys http://robotpkg.openrobots.org/packages/debian/robotpkg.key
- name: Set and install dependencies
run: |
rm -rf /usr/local/share/boost/1.69.0
export PYTHON3_VERSION=$(python3 -c "import sys; print(str(sys.version_info.major)+str(sys.version_info.minor))")
# Force eigenpy 3.10.0 to be compatible with hpp-fcl
export APT_DEPENDENCIES="doxygen \
ccache \
curl \
Expand All @@ -101,17 +104,19 @@ jobs:
libboost-python-dev \
python3-numpy \
python3-matplotlib \
robotpkg-py${PYTHON3_VERSION}-eigenpy \
robotpkg-py${PYTHON3_VERSION}-eigenpy=3.10.0 \
robotpkg-py${PYTHON3_VERSION}-hpp-fcl \
robotpkg-py${PYTHON3_VERSION}-casadi"
echo $APT_DEPENDENCIES
apt-get update -qq
DEBIAN_FRONTEND="noninteractive" apt-get install -qq ${APT_DEPENDENCIES}
- name: Free disk space
run: |
apt clean
df -h
- name: Run cmake
run: |
# Add cloned repo to safe.directory, since it was not cloned by the container
Expand All @@ -138,7 +143,7 @@ jobs:
make -j2 build_tests
export CTEST_OUTPUT_ON_FAILURE=1
make test
sudo make install
make install
- name: Test packaging
run: |
Expand Down Expand Up @@ -193,11 +198,10 @@ jobs:
make -j2
./run_fk
- name: Uninstall project
run: |
cd build
sudo make uninstall
make uninstall
check:
if: always()
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ The following people have been involved in the development of **Pinocchio** and
- [Lev Kozlov](https://github.com/lvjonok): Kinetic and potential energy regressors
- [Megane Millan](https://github.com/MegMll) (Inria): Features extension and core developer
- [Simeon Nedelchev](https://github.com/simeon-ned): Pseudo inertia and Log-Cholesky parametrization
- [Ajay Sathya](https://www.ajaysathya.com/) (Inria): core developer
- [Ajay Sathya](https://www.ajaysathya.com/) (Inria): core developer

If you have participated in the development of **Pinocchio**, please add your name and contribution to this list.

Expand Down

0 comments on commit 5546f8d

Please sign in to comment.