Add kill switch checks to ptpip funcs, make code more clear #164
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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
linux-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt install libusb-1.0-0-dev clang-tools | |
- name: Build | |
run: | | |
scan-build make libcamlib.so | |
make dec | |
- name: Unit test script | |
run: sh test/ci.sh | |
macOS-build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: brew install libusb | |
- name: Build | |
run: | | |
make TARGET=m libcamlib.dylib |