Fix ceres solver deps in workflow #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '0 0 * * 6' | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
fail-fast: false | |
steps: | |
- name: Setup ROS 2 | |
uses: ros-tooling/setup-ros@0.7.0 | |
with: | |
required-ros-distributions: humble | |
- name: Install nlohmann | |
run: sudo apt -y install nlohmann-json3-dev | |
- name: Install ceres dependencies | |
run: sudo apt -y install libunwind-dev libgoogle-glog-dev libatlas-base-dev libsuitesparse-dev libgflags-dev libeigen3-dev | |
- name: Install ceres | |
run: sudo apt -y install libceres-dev | |
- name: build and test | |
uses: ros-tooling/action-ros-ci@0.3.3 | |
with: | |
package-name: arm bt_test hri motion perception robocup_bringup cs4home_core | |
target-ros2-distro: humble | |
colcon-defaults: | | |
{ | |
"test": { | |
"parallel-workers" : 1 | |
} | |
} | |
vcs-repo-file-url: https://raw.githubusercontent.com/CoreSenseEU/CoreSense4Home/main/robocup_bringup/thirdparty.repos |