-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 1.11 KB
/
humble.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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