Skip to content

Test if all packages build #621

Test if all packages build

Test if all packages build #621

Workflow file for this run

name: Test if all packages build
on:
schedule:
- cron: '0 0 * * *'
push:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
steps:
- name: Set up ROS ecosystem
uses: ros-tooling/[email protected]
- name: Check out repository
uses: actions/checkout@v3
- name: Configure git to trust repository
run: git config --global --add safe.directory /__w/bitbots_meta/bitbots_meta
- name: Pull our software
run: make pull-init
- name: Install proprietary basler drivers
run: make basler ARGS="-ci"
- name: Install packages via rosdep
run: |
rosdep update
sudo apt install -y libunwind-dev
# Small hack to make rosdep install all dependencies at once
# See https://github.com/ros-infrastructure/rosdep/issues/671
bash -c "sudo apt install -y $(rosdep check --from-paths . --ignore-src --rosdistro iron | sed -n 's/^apt\s\+//p' | tr '\n' ' ')"
- name: Set up colcon workspace
run: |
mkdir -p /colcon_ws/src
ln -s $(realpath .) /colcon_ws/src/bitbots_meta
- name: Build packages
run: |
. /opt/ros/iron/setup.sh
colcon build --symlink-install
working-directory: /colcon_ws