Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

Fix macOS build

Oleg Kalachev9ad718cb8575
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 81a8e6d..9f19958 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -56,8 +56,15 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
+ - 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 tap osrf/simulation && brew install gazebo11
+ run: brew update && brew tap osrf/simulation && brew install gazebo11
- name: Install SDL2
run: brew install sdl2
- name: Build simulator