--force tag on brew, Github seems to have screwed it up #197
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: Clone latest vcam | |
run: | | |
cd ../ | |
git clone https://github.com/petabyt/vcam | |
cd vcam | |
make libusb.so | |
- name: Build | |
run: | | |
scan-build make libcamlib.so | |
make dec | |
- name: Run main unit test | |
run: make test | |
macOS-build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: brew install libusb --force | |
- name: Build | |
run: | | |
make TARGET=m libcamlib.dylib |