Merge development version into main #32
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 orbetto | |
on: [push, pull_request] | |
jobs: | |
linux: | |
name: Build orbetto on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y libusb-1.0-0-dev libzmq3-dev meson libsdl2-dev libdwarf-dev libdw-dev libelf-dev libcapstone-dev python3-pip ninja-build protobuf-compiler | |
- run: sudo pip3 install meson==1.2.0 | |
- uses: actions/checkout@v3 | |
- 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-linux | |
path: ext/orbetto/build/install/**/* | |
if-no-files-found: error | |
osx: | |
name: Build orbetto on macOS | |
runs-on: macos-13 | |
steps: | |
- run: brew install zmq sdl2 libelf protobuf meson ninja capstone dwarfutils | |
- uses: actions/checkout@v3 | |
- 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 | |