mirror of https://github.com/labapart/gattlib
24 lines
767 B
YAML
24 lines
767 B
YAML
name: gattlib
|
|
on: [push]
|
|
jobs:
|
|
build-debug:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo apt install libbluetooth-dev
|
|
- run: mkdir build && pushd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make
|
|
|
|
build-release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo apt install libbluetooth-dev doxygen
|
|
- run: mkdir build && pushd build && cmake -DCMAKE_BUILD_TYPE=Release -DGATTLIB_BUILD_DOCS=ON .. && make
|
|
|
|
build-release-force-dbus:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo apt install libbluetooth-dev
|
|
- run: mkdir build && pushd build && cmake -DGATTLIB_FORCE_DBUS=TRUE -DCMAKE_BUILD_TYPE=Release .. && make
|