Skip to content

Tune up time/timing/logs in reprostim-videocapture and QR parsing #380

Tune up time/timing/logs in reprostim-videocapture and QR parsing

Tune up time/timing/logs in reprostim-videocapture and QR parsing #380

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install build dependencies
run: |
sudo apt update
sudo apt install -y libyaml-cpp-dev libspdlog-dev catch2 libasound2-dev libv4l-dev libudev-dev libopencv-dev libcurl4-openssl-dev nlohmann-json3-dev cmake g++
- name: Build
run: |
mkdir build
cd build
cmake ..
make
working-directory: Capture
- name: Test "reprostim-videocapture -h"
run: |
./reprostim-videocapture -V
./reprostim-videocapture -h
working-directory: Capture/build/videocapture
- name: Test "reprostim-screencapture -h"
run: |
./reprostim-screencapture -V
./reprostim-screencapture -h
working-directory: Capture/build/screencapture
- name: Run tests with CTest
run: |
ctest --output-on-failure
working-directory: Capture/build