Skip to content

Commit

Permalink
#491: Remove sdl2 from Mac install instruction
Browse files Browse the repository at this point in the history
Also remove MacOS build from CI since it does not work anymore.
  • Loading branch information
ataffanel committed Mar 24, 2021
1 parent 8338ad3 commit 11209a1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 39 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,44 +25,6 @@ jobs:
- name: CI checks
run: docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build

MacOS:
needs: checks

name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-10.15, macos-11.0]
steps:
# Checkout, fetch-depth=0 fetches the full repos (required for automatic versioning to work)
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install dependencies
run: |
brew install [email protected] sdl2 libusb
brew link --overwrite [email protected]
pip3 install -e .
pip3 install cx_freeze==6.4.2
- name: Build
run: python3 setup.py bdist_mac

- name: Archive
run: |
export VERSION=$(pip3 list | grep cfclient | awk '{print $2}')
cd build
zip -r "cfclient_$VERSION.zip" "Crazyflie client.app"
cd ..
- name: Upload Build Artifact
uses: actions/[email protected]
with:
name: ${{ matrix.os }}-build
path: "build/*.zip"

Windows:
name: Windows
needs: checks
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ recursive-include src/cfclient/configs *.json
recursive-include src/cfclient/ui *.ui
recursive-include src/cfclient/resources *
include src/cfclient/version.json
include pyproject.toml
2 changes: 1 addition & 1 deletion docs/installation/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ To use Crazyradio you will have to [install the drivers](https://github.com/bitc

Python3 and required libs can be installed with brew:
```
brew install python3 sdl2 libusb
brew install python3 libusb
brew link python3 # This makes sure the latest python3 is used
# if "which python3" does not return "/usr/local/bin/python3", relaunch your terminal
pip3 install --upgrade pip.
Expand Down

0 comments on commit 11209a1

Please sign in to comment.