Add recording volume option, set to ~95% of max by default #310
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: 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 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 |