[dataflow] Add a flag to indicate that some nodes cannot be put on se… #673
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: Coverage | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/latest-ubuntu-toolchain | |
- name: Install Dependencies | |
run: | | |
sudo gem install coveralls-lcov | |
sudo apt-get install -yqq python3 python3-pip lcov build-essential gcovr | |
sudo pip3 install --upgrade wheel setuptools | |
sudo pip3 install git+https://github.com/rpgillespie6/fastcov.git | |
- name: Build | |
run: | | |
QT_ENV_SCRIPT=$(find /opt -name 'qt*-env.sh') | |
set +e | |
source $QT_ENV_SCRIPT | |
set -e | |
cmake -B build -S ${GITHUB_WORKSPACE} \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DOSSIA_TESTING=1 \ | |
-DOSSIA_COVERAGE=1 \ | |
-DPORTAUDIO_ONLY_DYNAMIC=1 \ | |
-DOSSIA_PD=0 \ | |
-DOSSIA_QT=1 \ | |
-DOSSIA_C=1 | |
cmake --build build -- -j2 | |
cmake --build build --target ossia_coverage || true | |
rm -rf **/*.o | |
find . -name '*.info' | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ${{ github.workspace }}/build/coverage.info |