Skip to content

Fix some const casts #196

Fix some const casts

Fix some const casts #196

Workflow file for this run

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
- name: Build
run: |
make TARGET=m libcamlib.dylib