added option to set sample rate and sample per frame #21
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 and Test Umgebung | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Dependencies via APT | |
run: | | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install git clang mesa-utils -y # Optional | |
sudo apt-get install cmake pkg-config libsdl2-dev libftgl-dev libglew-dev ffmpeg \ | |
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev \ | |
libavdevice-dev librtmidi-dev -y | |
- name: Configure CMake | |
run: cmake -B build -DBUILD_TESTING=ON | |
- name: Build Project | |
run: cmake --build build | |
- name: Run Tests | |
run: ctest --test-dir build |