[pre-commit.ci] pre-commit autoupdate #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: humble | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build-humble: | |
runs-on: ubuntu-latest | |
container: ubuntu:jammy | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ros-tooling/setup-ros@v0.7 | |
with: | |
required-ros-distributions: humble | |
- run: | | |
sudo tee /etc/apt/sources.list.d/robotpkg.list <<EOF | |
deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -sc) robotpkg | |
EOF | |
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add - | |
sudo apt update | |
sudo apt install -y robotpkg-py3\*-crocoddyl coinor-libipopt-dev | |
{ | |
echo "PATH=/opt/openrobots/bin:$PATH" | |
echo "PKG_CONFIG_PATH=/opt/openrobots/lib/pkgconfig:$PKG_CONFIG_PATH" | |
echo "LD_LIBRARY_PATH=/opt/openrobots/lib:$LD_LIBRARY_PATH" | |
echo "PYTHONPATH=/opt/openrobots/lib/python3.10/site-packages:$PYTHONPATH" | |
} >> "$GITHUB_ENV" | |
- uses: ros-tooling/action-ros-ci@v0.3 | |
with: | |
package-name: cpcc2_tiago | |
target-ros2-distro: humble |