Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/build-ubuntu22-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Ubuntu 22.04 ARM64

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

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-22.04-arm

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src/m2_core

- name: Setup ROS 2 Humble
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: humble

- name: Install ros2bag
run: |
sudo apt-get update
sudo apt-get install -y ros-humble-ros2bag ros-humble-rosbag2-storage-default-plugins


- name: Build
run: |
source /opt/ros/humble/setup.bash
colcon build
shell: bash

- name: Confirm Build
run: |
ls -a
tree
shell : bash
43 changes: 43 additions & 0 deletions .github/workflows/build-ubuntu22-x64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Ubuntu 22.04 x64

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

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src/m2_core

- name: Setup ROS 2 Humble
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: humble

- name: Install ros2bag
run: |
sudo apt-get update
sudo apt-get install -y ros-humble-ros2bag ros-humble-rosbag2-storage-default-plugins


- name: Build
run: |
source /opt/ros/humble/setup.bash
colcon build
shell: bash

- name: Confirm Build
run: |
ls -a
tree
shell : bash
42 changes: 42 additions & 0 deletions .github/workflows/build-ubuntu24-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Ubuntu 24.04 ARM64

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

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-24.04-arm

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src/m2_core

- name: Setup ROS 2 Jazzy
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: jazzy

- name: Install ros2bag
run: |
sudo apt-get update
sudo apt-get install -y ros-jazzy-ros2bag ros-jazzy-rosbag2-storage-default-plugins

- name: Build
run: |
source /opt/ros/jazzy/setup.bash
colcon build
shell: bash

- name: Confirm Build
run: |
ls -a
tree
shell : bash
42 changes: 42 additions & 0 deletions .github/workflows/build-ubuntu24-x64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Ubuntu 24.04 x64

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

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src/m2_core

- name: Setup ROS 2 Jazzy
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: jazzy

- name: Install ros2bag
run: |
sudo apt-get update
sudo apt-get install -y ros-jazzy-ros2bag ros-jazzy-rosbag2-storage-default-plugins

- name: Build
run: |
source /opt/ros/jazzy/setup.bash
colcon build
shell: bash

- name: Confirm Build
run: |
ls -a
tree
shell : bash
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Build Status

| Platform | Architecture | ROS 2 Distro | Status |
|----------|-------------|--------------|--------|
| Ubuntu 22.04 | x64 | Humble | [![Ubuntu 22.04 x64](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu22-x64.yml/badge.svg)](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu22-x64.yml) |
| Ubuntu 22.04 | ARM64 | Humble | [![Ubuntu 22.04 ARM64](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu22-arm64.yml/badge.svg)](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu22-arm64.yml) |
| Ubuntu 24.04 | x64 | Jazzy | [![Ubuntu 24.04 x64](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu24-x64.yml/badge.svg)](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu24-x64.yml) |
| Ubuntu 24.04 | ARM64 | Jazzy | [![Ubuntu 24.04 ARM64](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu24-arm64.yml/badge.svg)](https://github.com/MODAQ2/m2_core/actions/workflows/build-ubuntu24-arm64.yml) |


Loading