Python wrapping and Protocol Decode #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build OSX binaries | |
on: [push, pull_request] | |
jobs: | |
osx: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- uses: actions/checkout@v3 | |
- run: brew install zmq sdl2 libelf protobuf meson ninja | |
- run: git clone https://github.com/pybind/pybind11.git | |
working-directory: ext/orbetto | |
- run: git clone https://github.com/puddly/ripyl.git # Ripyl is a Protocol Decoder Python Library | |
working-directory: ext/orbetto | |
- run: sudo pip3 install scipy # Python dependency for Ripyl | |
- run: sudo pip3 install numpy # Python dependency for Ripyl | |
- run: sudo pip3 install setuptools==45 # Ripyl needs setuptools 45 to install | |
- run: python3 setup.py install # Install Ripyl | |
working-directory: ext/orbetto/ripyl # in the source directory | |
- run: sudo pip3 install pandas # Python dependency for fast data analysis | |
- run: sudo pip3 install pyelftools # Python dependency for elf file analysis | |
- run: sudo pip3 install cxxfilt # Python dependency for c++ function name demangling | |
- run: meson setup ./build | |
working-directory: ext/orbetto | |
- run: ninja -C ./build | |
working-directory: ext/orbetto | |
- run: meson install -C ./build --destdir ./install | |
working-directory: ext/orbetto | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: orbetto-osx | |
path: ext/orbetto/build/install/**/* | |
if-no-files-found: error | |