From d273b77ce25134faa09f6b699071685df66a5f20 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Thu, 12 Dec 2024 09:07:09 +0300 Subject: [PATCH] Bring back macOS simulation build in Actions --- .github/workflows/build.yml | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4a976a..a48ad77 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,22 +60,22 @@ jobs: path: gazebo/build/*.so retention-days: 1 -# build_simulator_macos: -# runs-on: macos-latest -# steps: -# - name: Install Arduino CLI -# run: brew install arduino-cli -# - uses: actions/checkout@v4 -# - name: Clean up python binaries # Workaround for https://github.com/actions/setup-python/issues/577 -# run: | -# rm -f /usr/local/bin/2to3* -# rm -f /usr/local/bin/idle3* -# rm -f /usr/local/bin/pydoc3* -# rm -f /usr/local/bin/python3* -# rm -f /usr/local/bin/python3*-config -# - name: Install Gazebo -# run: brew update && brew tap osrf/simulation && brew install gazebo11 -# - name: Install SDL2 -# run: brew install sdl2 -# - name: Build simulator -# run: make build_simulator + build_simulator_macos: + runs-on: macos-latest + steps: + - name: Install Arduino CLI + run: brew install arduino-cli + - uses: actions/checkout@v4 + - name: Clean up python binaries # Workaround for https://github.com/actions/setup-python/issues/577 + run: | + rm -f /usr/local/bin/2to3* + rm -f /usr/local/bin/idle3* + rm -f /usr/local/bin/pydoc3* + rm -f /usr/local/bin/python3* + rm -f /usr/local/bin/python3*-config + - name: Install Gazebo + run: brew update && brew tap osrf/simulation && brew install gazebo11 + - name: Install SDL2 + run: brew install sdl2 + - name: Build simulator + run: make build_simulator