Added virtual function uca_camera_grab_live
#32
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: libuca tests | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-20.04] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up ubuntu ${{ matrix.os }} | |
run: | | |
sudo apt install -y libglib2.0-dev cmake gcc gobject-introspection | |
- name: build | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make | |
sudo make install | |
- name: run test-mock | |
run: | | |
pwd | |
ls | |
build/test/test-mock | |
- name: run test-ring-buffer | |
run: | | |
build/test/test-ring-buffer |