Skip to content

Commit 8b6f0bf

Browse files
sauk2srmainwaring
authored andcommitted
Added setup-gazebo action to CI
Signed-off-by: Saurabh Kamat <kamatsaurabh01@gmail.com>
1 parent a8fff31 commit 8b6f0bf

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/ubuntu-build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818
with:
1919
submodules: 'recursive'
2020

21+
- name: Setup Gazebo
22+
uses: gazebo-tooling/setup-gazebo@v0.3.0
23+
with:
24+
required-gazebo-distributions: harmonic
25+
2126
- name: Install Build Dependencies
2227
shell: bash
2328
run: |
2429
sudo apt update && sudo apt install --no-install-recommends -y \
25-
lsb-release \
26-
sudo \
2730
software-properties-common \
28-
wget \
2931
make \
3032
cmake \
3133
ccache \
3234
g++ \
3335
git
34-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
35-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
3636
sudo apt update && sudo apt install --no-install-recommends -y \
3737
rapidjson-dev \
3838
libopencv-dev \
@@ -41,8 +41,7 @@ jobs:
4141
libgstreamer-plugins-base1.0-dev \
4242
gstreamer1.0-plugins-bad \
4343
gstreamer1.0-libav \
44-
gstreamer1.0-gl \
45-
gz-harmonic
44+
gstreamer1.0-gl
4645
4746
# Put ccache into github cache for faster build
4847
- name: Prepare ccache timestamp

0 commit comments

Comments
 (0)