diff --git a/.github/workflows/build-ubuntu22-arm64.yml b/.github/workflows/build-ubuntu22-arm64.yml new file mode 100644 index 0000000..f313182 --- /dev/null +++ b/.github/workflows/build-ubuntu22-arm64.yml @@ -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 diff --git a/.github/workflows/build-ubuntu22-x64.yml b/.github/workflows/build-ubuntu22-x64.yml new file mode 100644 index 0000000..c00406a --- /dev/null +++ b/.github/workflows/build-ubuntu22-x64.yml @@ -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 diff --git a/.github/workflows/build-ubuntu24-arm64.yml b/.github/workflows/build-ubuntu24-arm64.yml new file mode 100644 index 0000000..fe21469 --- /dev/null +++ b/.github/workflows/build-ubuntu24-arm64.yml @@ -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 diff --git a/.github/workflows/build-ubuntu24-x64.yml b/.github/workflows/build-ubuntu24-x64.yml new file mode 100644 index 0000000..9f01e06 --- /dev/null +++ b/.github/workflows/build-ubuntu24-x64.yml @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..3db7e50 --- /dev/null +++ b/README.md @@ -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) | + +