Migrated dependency management to CPM where possible #41
Workflow file for this run
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: Unit Test | |
on: | |
push: | |
branches-ignore: | |
main | |
pull_request: | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: sudo apt install cmake wget libsndfile1-dev qt6-base-dev qt6-multimedia-dev libgl1-mesa-dev | |
- name: Configure Build | |
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DTMSEXPRESS_BUILD_TESTS=ON -DTMSEXPRESS_BUILD_GUI=OFF | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build --config Debug | |
- name: Run tests | |
run: cd build && ctest |