Release 2024.7 #95
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 tests Linux' | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
coverage: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt -y update | |
sudo apt -y install libsdl2-dev libva-dev python3-venv gcovr spirv-tools glslang-dev libvulkan-dev mesa-vulkan-drivers vulkan-validationlayers | |
sudo apt -y install ffmpeg libavcodec-dev libavutil-dev libavformat-dev libavdevice-dev libavfilter-dev libswscale-dev libswresample-dev libpostproc-dev | |
sudo apt -y install libfreetype-dev libharfbuzz-dev libfribidi-dev | |
- name: Run tests | |
run: | | |
./configure.py --buildtype debug --coverage --debug-opts gl vk scene | |
make tests-setup | |
. venv/bin/ngli-activate | |
meson test -C builddir/tests --timeout-multiplier=3 | |
- name: Get coverage | |
run: | | |
make coverage-xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: builddir/libnopegl/meson-logs/coverage.xml |