diff --git a/.github/workflows/main.yml b/.github/workflows/humble.yml similarity index 100% rename from .github/workflows/main.yml rename to .github/workflows/humble.yml diff --git a/.github/workflows/jazzy.yml b/.github/workflows/jazzy.yml new file mode 100644 index 0000000..75f8ea2 --- /dev/null +++ b/.github/workflows/jazzy.yml @@ -0,0 +1,41 @@ +name: main + +on: + pull_request: + branches: + - main + push: + branches: + - main +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-24.04] + fail-fast: false + steps: + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.0 + with: + required-ros-distributions: jazzy + + - name: Checkout repository + uses: actions/checkout@v3 + + - name: install python dep + run: | + python3 -m pip install -r requirements.txt + + - name: build and test + uses: ros-tooling/action-ros-ci@0.3.3 + with: + package-name: vision_system + target-ros2-distro: jazzy + colcon-defaults: | + { + "test": { + "parallel-workers" : 1 + } + } + diff --git a/.github/workflows/rolling.yml b/.github/workflows/rolling.yml new file mode 100644 index 0000000..727337f --- /dev/null +++ b/.github/workflows/rolling.yml @@ -0,0 +1,41 @@ +name: main + +on: + pull_request: + branches: + - main + push: + branches: + - main +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-22.04] + fail-fast: false + steps: + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.0 + with: + required-ros-distributions: rolling + + - name: Checkout repository + uses: actions/checkout@v3 + + - name: install python dep + run: | + python3 -m pip install -r requirements.txt + + - name: build and test + uses: ros-tooling/action-ros-ci@0.3.3 + with: + package-name: vision_system + target-ros2-distro: rolling + colcon-defaults: | + { + "test": { + "parallel-workers" : 1 + } + } +