-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from lucasw/robot_state_publisher
Robot state publisher, rtabmap, plotjuggler updates
- Loading branch information
Showing
8 changed files
with
225 additions
and
204 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,17 @@ on: | |
push: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ubuntu2204: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [install, devel] | ||
|
||
runs-on: ubuntu-22.04 | ||
# env: | ||
steps: | ||
|
@@ -55,6 +64,7 @@ jobs: | |
sudo apt-get install -yqq libyaml-cpp-dev | ||
sudo apt-get install -yqq cython3 | ||
sudo apt-get install -yqq libapriltag-dev | ||
sudo apt-get install -yqq libfmt-dev | ||
sudo apt-get install -yqq libzmq3-dev | ||
- name: apt sdl installs | ||
|
@@ -146,133 +156,119 @@ jobs: | |
which catkin | ||
catkin --version | ||
### BASE DEVEL BUILD ### | ||
- name: setup base_catkin_ws | ||
run: | | ||
mkdir -p base_catkin_ws/src | ||
cd base_catkin_ws/src | ||
mkdir -p ${{ matrix.build_type }}_base_catkin_ws/src | ||
cd ${{ matrix.build_type }}_base_catkin_ws/src | ||
ln -s ../../other/src/ros_from_src/ubuntu_2204/base_repos.yaml | ||
# need https instead of git@github | ||
sed -i 's/[email protected]:/https:\/\/github.com\//' base_repos.yaml | ||
ls -l | ||
vcs import --shallow < base_repos.yaml | ||
# ignore repos that aren't yet building in 22.04 | ||
../../other/src/ros_from_src/ubuntu_2204/ignore.sh | ||
cd .. | ||
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release -Wno-deprecated | ||
- name: build joint_trajectory_controller | ||
run: | | ||
cd base_catkin_ws | ||
catkin build --no-status joint_trajectory_controller | ||
source devel/setup.bash | ||
- name: test joint_trajectory_controller | ||
- name: devel setup | ||
if: ${{ matrix.build_type == 'devel' }} | ||
run: | | ||
cd base_catkin_ws | ||
source devel/setup.bash | ||
catkin build joint_trajectory_controller --no-status --no-deps --catkin-make-args tests | ||
rostest joint_trajectory_controller joint_trajectory_controller.test | ||
# catkin test --no-status joint_trajectory_controller | ||
- name: build plotjuggler | ||
run: | | ||
cd base_catkin_ws | ||
source devel/setup.bash | ||
# Does building plotjuggler before plotjuggler_ros mess up in install? | ||
# catkin build --no-status plotjuggler | ||
catkin build --no-status plotjuggler_ros | ||
source devel/setup.bash | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release -Wno-deprecated | ||
- name: build rviz | ||
- name: install setup | ||
if: ${{ matrix.build_type == 'install' }} | ||
run: | | ||
cd base_catkin_ws | ||
source devel/setup.bash | ||
catkin build --no-status rviz | ||
source devel/setup.bash | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
catkin config --install --cmake-args -DCMAKE_BUILD_TYPE=Release -Wno-deprecated | ||
- name: build jsk_rviz_plugins | ||
# back to devel build | ||
- name: build fiducials | ||
run: | | ||
cd base_catkin_ws | ||
source devel/setup.bash | ||
catkin build --no-status jsk_rviz_plugins | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
catkin build --no-status fiducials | ||
source ${{ matrix.build_type }}/setup.bash | ||
- name: build fuse | ||
- name: build grid_map | ||
run: | | ||
cd base_catkin_ws | ||
source devel/setup.bash | ||
catkin build --no-status fuse_models fuse_optimizers | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status grid_map* | ||
- name: build rest of base_catkin_ws | ||
- name: build qt_gui_core | ||
run: | | ||
cd base_catkin_ws | ||
source devel/setup.bash | ||
catkin build --no-status | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status qt_gui_core | ||
### BASE INSTALL BUILD ### | ||
- name: setup base_catkin_ws | ||
- name: build rtabmap_ros | ||
run: | | ||
mkdir install_base_catkin_ws | ||
cd install_base_catkin_ws | ||
ln -s ../base_catkin_ws/src | ||
catkin config --install --cmake-args -DCMAKE_BUILD_TYPE=Release -Wno-deprecated | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status rtabmap_ros | ||
- name: build joint_trajectory_controller | ||
run: | | ||
cd install_base_catkin_ws | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status joint_trajectory_controller | ||
source install/setup.bash | ||
- name: test joint_trajectory_controller | ||
if: ${{ matrix.build_type == 'devel' }} | ||
run: | | ||
cd install_base_catkin_ws | ||
source install/setup.bash | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build joint_trajectory_controller --no-status --no-deps --catkin-make-args tests | ||
rostest joint_trajectory_controller joint_trajectory_controller.test | ||
# catkin test --no-status joint_trajectory_controller | ||
- name: test install joint_trajectory_controller | ||
if: ${{ matrix.build_type == 'install' }} | ||
run: | | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin test --no-status joint_trajectory_controller | ||
- name: build plotjuggler | ||
run: | | ||
cd install_base_catkin_ws | ||
source install/setup.bash | ||
catkin build --no-status plotjuggler | ||
source install/setup.bash | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
# Does building plotjuggler before plotjuggler_ros mess up in install? | ||
# catkin build --no-status plotjuggler | ||
catkin build --no-status plotjuggler_ros | ||
- name: build jsk_common_msgs | ||
run: | | ||
cd install_base_catkin_ws | ||
source install/setup.bash | ||
catkin build --no-status jsk_common_msgs | ||
source ${{ matrix.build_type }}/setup.bash | ||
- name: build rviz | ||
run: | | ||
cd install_base_catkin_ws | ||
source install/setup.bash | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status rviz | ||
source ${{ matrix.build_type }}/setup.bash | ||
- name: build jsk_rviz_plugins | ||
- name: build jsk | ||
run: | | ||
cd install_base_catkin_ws | ||
source install/setup.bash | ||
catkin build --no-status jsk_rviz_plugins | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status jsk* | ||
- name: build fuse | ||
run: | | ||
cd install_base_catkin_ws | ||
source install/setup.bash | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status fuse_models fuse_optimizers | ||
- name: build rest of base packages | ||
- name: build rest of ${{ matrix.build_type }}_base_catkin_ws | ||
run: | | ||
cd install_base_catkin_ws | ||
source install/setup.bash | ||
cd ${{ matrix.build_type }}_base_catkin_ws | ||
source ${{ matrix.build_type }}/setup.bash | ||
catkin build --no-status | ||
- name: tar up install_catkin_ws | ||
if: ${{ matrix.build_type == 'install' }} | ||
run: | | ||
tar cvzf install_catkin_ws_2204.tgz install_base_catkin_ws/install | ||
tar cvzf install_catkin_ws_2204.tgz ${{ matrix.build_type }}_base_catkin_ws/install | ||
ls -l | ||
- name: update install_catkin_ws_2204.tgz | ||
if: ${{ matrix.build_type == 'install' }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: install_catkin_ws_2204 | ||
|
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
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
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
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
Oops, something went wrong.