Skip to content

Commit

Permalink
update docker image (name has changed)
Browse files Browse the repository at this point in the history
  • Loading branch information
flipflip8952 committed Jul 18, 2024
1 parent 070d3ae commit 9c5fe09
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 97 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/build_test_ros.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
name: Build and Test with ROS1

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
config:
- name: "noetic"
container:
image: "ghcr.io/fixposition/fixposition/fixposition-sdk:noetic-ci"

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

defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v4
with:
path: src/fixposition_driver
- name: Checkout Deps
uses: actions/checkout@v4
with:
repository: fixposition/fixposition_gnss_tf
path: src/fixposition_gnss_tf
- name: Ignore ROS2 node
run: |
touch src/fixposition_driver/fixposition_driver_ros2/CATKIN_IGNORE
touch src/fixposition_driver/fixposition_odometry_converter_ros2/CATKIN_IGNORE
- name: Init Workspace
run: |
catkin init
- name: Build and Test
run: |
source /opt/ros/$ROS_DISTRO/setup.bash
catkin build fixposition_driver_lib fixposition_driver_ros1 fixposition_odometry_converter_ros1 --force-cmake -DBUILD_TESTING=ON
catkin run_tests
name: Build and Test with ROS1

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
config:
- name: "noetic"
container:
image: "ghcr.io/fixposition/fixposition-sdk:noetic-ci"

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

defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v4
with:
path: src/fixposition_driver
- name: Checkout Deps
uses: actions/checkout@v4
with:
repository: fixposition/fixposition_gnss_tf
path: src/fixposition_gnss_tf
- name: Ignore ROS2 node
run: |
touch src/fixposition_driver/fixposition_driver_ros2/CATKIN_IGNORE
touch src/fixposition_driver/fixposition_odometry_converter_ros2/CATKIN_IGNORE
- name: Init Workspace
run: |
catkin init
- name: Build and Test
run: |
source /opt/ros/$ROS_DISTRO/setup.bash
catkin build fixposition_driver_lib fixposition_driver_ros1 fixposition_odometry_converter_ros1 --force-cmake -DBUILD_TESTING=ON
catkin run_tests
98 changes: 49 additions & 49 deletions .github/workflows/build_test_ros2.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
name: Build and Test with ROS2

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
config:
- name: "humble"
container:
image: "ghcr.io/fixposition/fixposition/fixposition-sdk:humble-ci"
- name: "jazzy"
container:
image: "ghcr.io/fixposition/fixposition/fixposition-sdk:jazzy-ci"

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

defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v4
with:
path: src/fixposition_driver
- name: Checkout Deps
uses: actions/checkout@v4
with:
repository: fixposition/fixposition_gnss_tf
path: src/fixposition_gnss_tf
- name: Ignore ROS1 node
run: |
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
colcon build --packages-up-to fixposition_driver_ros2 --cmake-args -DBUILD_TESTING=ON
colcon test --packages-up-to fixposition_driver_ros2
colcon test-result --test-result-base build/fixposition_gnss_tf/
name: Build and Test with ROS2

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
config:
- name: "humble"
container:
image: "ghcr.io/fixposition/fixposition-sdk:humble-ci"
- name: "jazzy"
container:
image: "ghcr.io/fixposition/fixposition-sdk:jazzy-ci"

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

defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v4
with:
path: src/fixposition_driver
- name: Checkout Deps
uses: actions/checkout@v4
with:
repository: fixposition/fixposition_gnss_tf
path: src/fixposition_gnss_tf
- name: Ignore ROS1 node
run: |
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
colcon build --packages-up-to fixposition_driver_ros2 --cmake-args -DBUILD_TESTING=ON
colcon test --packages-up-to fixposition_driver_ros2
colcon test-result --test-result-base build/fixposition_gnss_tf/

0 comments on commit 9c5fe09

Please sign in to comment.