Skip to content

Commit

Permalink
Use pre-made docker images for CI, use ROS Noetic, Humble and Jazzy (…
Browse files Browse the repository at this point in the history
…remove Melodic and Foxy)
  • Loading branch information
flipflip8952 committed Jul 16, 2024
1 parent 6330863 commit 15986f4
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 36 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/build_test_ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
fail-fast: false
matrix:
config:
- name: "melodic"
container:
image: "osrf/ros:melodic-desktop-full"
env:
ROS_DISTRO: melodic
# - name: "melodic"
# container:
# image: "osrf/ros:melodic-desktop-full"
# env:
# ROS_DISTRO: melodic
- name: "noetic"
container:
image: "osrf/ros:noetic-desktop-full"
env:
ROS_DISTRO: noetic
image: "ghcr.io/fixposition/fixposition/fixposition-sdk:noetic-ci"
# env:
# ROS_DISTRO: noetic

container: ${{ matrix.config.container }}

Expand All @@ -33,25 +33,25 @@ jobs:
shell: bash

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/fixposition_driver
- name: Checkout Deps
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: fixposition/fixposition_gnss_tf
path: src/fixposition_gnss_tf
- name: Set up Deps
run: |
sudo apt-get update
sudo apt-get install -y libeigen3-dev libyaml-cpp-dev libgtest-dev python3-osrf-pycommon python3-catkin-tools
- name: Install Gtest
if: matrix.config.container.image == 'osrf/ros:melodic-desktop-full'
run: |
cd /usr/src/gtest
sudo cmake .
sudo make
sudo make install
# - name: Set up Deps
# run: |
# sudo apt-get update
# sudo apt-get install -y libeigen3-dev libyaml-cpp-dev libgtest-dev python3-osrf-pycommon python3-catkin-tools
# - name: Install Gtest
# if: matrix.config.container.image == 'osrf/ros:melodic-desktop-full'
# run: |
# cd /usr/src/gtest
# sudo cmake .
# sudo make
# sudo make install
- name: Ignore ROS2 node
run: |
touch src/fixposition_driver/fixposition_driver_ros2/CATKIN_IGNORE
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/build_test_ros2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
config:
- name: "humble"
container:
image: "osrf/ros:humble-desktop-full"
env:
ROS_DISTRO: humble
- name: "foxy"
image: "ghcr.io/fixposition/fixposition/fixposition-sdk:humble-ci"
# env:
# ROS_DISTRO: humble
- name: "jazzy"
container:
image: "osrf/ros:foxy-desktop"
env:
ROS_DISTRO: foxy
image: "ghcr.io/fixposition/fixposition/fixposition-sdk:jazzy-ci"
# env:
# ROS_DISTRO: foxy

container: ${{ matrix.config.container }}

Expand All @@ -33,22 +33,22 @@ jobs:
shell: bash

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/fixposition_driver
- name: Checkout Deps
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: fixposition/fixposition_gnss_tf
path: src/fixposition_gnss_tf
path: src/fixposition_gnss_tf
- name: Set up Deps
run: |
sudo apt-get update
sudo apt-get install -y libeigen3-dev libyaml-cpp-dev libgtest-dev python3-osrf-pycommon
# run: |
# sudo apt-get update
# sudo apt-get install -y libeigen3-dev libyaml-cpp-dev libgtest-dev python3-osrf-pycommon
- name: Ignore ROS1 node
run: |
touch src/fixposition_driver/fixposition_driver_ros1/COLCON_IGNORE
touch src/fixposition_driver/fixposition_odometry_converter_ros1/COLCON_IGNORE
touch src/fixposition_driver/fixposition_driver_ros1/COLCON_IGNORE
touch src/fixposition_driver/fixposition_odometry_converter_ros1/COLCON_IGNORE
- name: Build and Test
run: |
source /opt/ros/$ROS_DISTRO/setup.bash
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

_For questions about compatibility, please contact Fixpositions Support [email protected]_

## x.x.x

- Remove support and CI for ROS 1 Melodic and ROS 2 Foxy

## [6.1.3](https://github.com/fixposition/fixposition_driver/releases/tag/6.1.3)

- Improve README
Expand Down

0 comments on commit 15986f4

Please sign in to comment.