add libexif-dev #241
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 libexif-dev | |
- name: Clone latest vcam | |
run: curl https://raw.githubusercontent.com/petabyt/vcam/master/install.sh | bash | |
- name: Build | |
run: scan-build make libcamlib.a | |
- 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 |