-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 1.11 KB
/
rolling.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: rolling
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-rolling:
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: rolling
- 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/[email protected]
with:
package-name: cpcc2_tiago
target-ros2-distro: rolling