Skip to content

[serial] Support serial both by id, by path name #36

[serial] Support serial both by id, by path name

[serial] Support serial both by id, by path name #36

Workflow file for this run

name: Build and Test Orbetto
on: [pull_request]
jobs:
linux:
name: Build and Test 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 and Test 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