Skip to content

Commit

Permalink
[CI] No package for mc-panda on ubuntu 22.04 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
arntanguy committed Mar 22, 2024
1 parent 14de323 commit d6c12dc
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,38 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install mc_panda and its dependencies
- name: Install ROS dependencies
if: matrix.os == 'ubuntu-20.04'
run: |
set -x
set -e
export ROS_DISTRO="noetic"
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
sudo apt-get update -qq
sudo apt-get -qq remove libomp5-9 || true
sudo apt-get install -qq ros-${ROS_DISTRO}-libfranka ros-${ROS_DISTRO}-franka-ros
. /opt/ros/${ROS_DISTRO}/setup.bash
echo "ROS_DISTRO=${ROS_DISTRO}" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}" >> $GITHUB_ENV
echo "ROS_MASTER_URI=${ROS_MASTER_URI}" >> $GITHUB_ENV
echo "ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}" >> $GITHUB_ENV
echo "PYTHONPATH=${PYTHONPATH}" >> $GITHUB_ENV
echo "CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" >> $GITHUB_ENV
echo "PATH=${PATH}" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV
- name: Install mc_rtc
run: |
set -x
set -e
curl -1sLf 'https://dl.cloudsmith.io/public/mc-rtc/head/setup.deb.sh' | sudo -E bash
sudo apt-get install -qq libmc-rtc-dev mc-rtc-utils python3-mc-rtc mc-panda
sudo apt-get install -qq libmc-rtc-dev mc-rtc-utils python3-mc-rtc ros-${ROS_DISTRO}-mc-rtc-plugin mc-panda
- name: Build and test
uses: jrl-umi3218/github-actions/build-cmake-project@master
with:
Expand Down

0 comments on commit d6c12dc

Please sign in to comment.