8 Commits

Author SHA1 Message Date
Oleg Kalachev
f2dec78b16 Fix docker sim build 2025-04-24 19:21:23 +03:00
Oleg Kalachev
31ac562f67 Fix docker sim build again 2025-04-24 19:20:01 +03:00
Oleg Kalachev
feb686727b Fix Docker sim build 2025-04-24 18:47:51 +03:00
Oleg Kalachev
1975ed30b4 Make job using Ubuntu 22.02 2025-04-24 18:45:25 +03:00
Oleg Kalachev
1859fca150 Update APT before installing libsdl2-dev 2025-04-24 18:38:08 +03:00
Oleg Kalachev
42d844287e Fix docker run 2025-04-24 18:23:14 +03:00
Oleg Kalachev
226da71719 Run sim build in docker using container directive 2025-04-24 18:21:58 +03:00
Oleg Kalachev
405777dc46 Use ubuntu-22.04 for sim build, add job with building with docker 2025-04-24 18:20:44 +03:00

View File

@@ -46,7 +46,7 @@ jobs:
run: python3 tools/check_c_cpp_properties.py
build_simulator:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1.1.1
@@ -63,6 +63,26 @@ jobs:
path: gazebo/build/*.so
retention-days: 1
build_simulator_docker:
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1.1.1
- uses: actions/checkout@v4
- name: Install Gazebo
run: curl -sSL http://get.gazebosim.org | sh
- name: Install SDL2
run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install build-essential libsdl2-dev -y
- name: Build simulator
run: make build_simulator
- uses: actions/upload-artifact@v4
with:
name: gazebo-plugin-binary
path: gazebo/build/*.so
retention-days: 1
build_simulator_macos:
runs-on: macos-latest
if: github.event_name == 'workflow_dispatch'