Skip to content

Commit

Permalink
Fix build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Flova committed Jan 18, 2024
1 parent 68f50eb commit 49f1a5f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@ jobs:
uses: actions/checkout@v3
- name: Configure git to trust repository
run: git config --global --add safe.directory /__w/bitbots_meta/bitbots_meta
- name: Set up colcon workspace
run: |
mkdir -p /colcon_ws/src
ln -s $(realpath .) /colcon_ws/src/bitbots_meta
- name: Pull our software
run: make pull-init
working-directory: /colcon_ws/src/bitbots_meta
- name: Install proprietary basler drivers
run: make basler ARGS="-ci"
working-directory: /colcon_ws/src/bitbots_meta
- 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
make rosdep
working-directory: /colcon_ws/src/bitbots_meta
- name: Build packages
run: |
. /opt/ros/iron/setup.sh
Expand Down

0 comments on commit 49f1a5f

Please sign in to comment.