From 230eea3683476b9ce9405a2daa93e9999fcf7a17 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Fri, 3 Jun 2022 16:08:54 -0700 Subject: [PATCH 1/3] CI for Focal and Jammy (#10) * CI for Focal and Jammy Signed-off-by: Shane Loretz * Only run on pull_request updates Signed-off-by: Shane Loretz --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..1eec8c8c --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: gh-ci +on: + 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 a268207acc2799fc1e8edd1a56b6631d999e0891 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Fri, 3 Jun 2022 16:13:40 -0700 Subject: [PATCH 2/3] Focal;Galactic;Citadel,Edifice,Fortress Signed-off-by: Shane Loretz --- .github/workflows/ci.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1eec8c8c..0055e8eb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,11 +3,13 @@ on: pull_request jobs: test_sdformat_urdf: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: matrix: - ros-distro: ["humble", "rolling"] + ros-distro: ["galactic"] gazebo-version: + - "citadel" # libsdformat9 + - "edifice" # libsdformat11 - "fortress" # libsdformat12 env: GAZEBO_VERSION: ${{ matrix.gazebo-version }} From 4aff5f9ce449f55d11b199883710b546e0aacf62 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Tue, 7 Jun 2022 17:12:26 -0700 Subject: [PATCH 3/3] Gazebo -> gz Signed-off-by: Shane Loretz --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0055e8eb..9ce0c608 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,12 +7,12 @@ jobs: strategy: matrix: ros-distro: ["galactic"] - gazebo-version: + gz-version: - "citadel" # libsdformat9 - "edifice" # libsdformat11 - "fortress" # libsdformat12 env: - GAZEBO_VERSION: ${{ matrix.gazebo-version }} + GZ_VERSION: ${{ matrix.gz-version }} steps: - uses: ros-tooling/setup-ros@v0.3 with: