From 4681b4c2e6fcbbc258c5bb367e067756eb211c57 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Fri, 3 Jun 2022 13:30:02 -0700 Subject: [PATCH 1/2] CI for Focal and Jammy Signed-off-by: Shane Loretz --- .github/workflows/ci.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..2af733b0 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,21 @@ +name: gh-ci +on: [push, pull_request] +jobs: + test_sdformat_urdf: + runs-on: ubuntu-22.04 + strategy: + matrix: + ros-distro: ["humble", "rolling"] + gazebo-version: + - "fortress" # libsdformat12 + env: + GAZEBO_VERSION: ${{ matrix.gazebo-version }} + steps: + - uses: ros-tooling/setup-ros@v0.3 + with: + required-ros-distributions: ${{ matrix.ros-distro }} + - name: Build and test all packages + uses: ros-tooling/action-ros-ci@v0.2 + with: + target-ros2-distro: ${{ matrix.ros-distro }} + From 439071292144507a8aac861b4307e4c8ed3e1f70 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Fri, 3 Jun 2022 15:46:04 -0700 Subject: [PATCH 2/2] Only run on pull_request updates Signed-off-by: Shane Loretz --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2af733b0..1eec8c8c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,5 +1,6 @@ name: gh-ci -on: [push, pull_request] +on: + pull_request jobs: test_sdformat_urdf: runs-on: ubuntu-22.04