Fix bug with USB code reading more than one packet #82
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 | |
- name: Build | |
run: | | |
make libcamlib.so | |
# Test the decoding tool also builds. | |
make dec | |
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 libcamlib.so | |
# Test the decoding tool also builds. | |
make dec |