feat: enable vmaf test on windows #42
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: Regression tests | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- 'v*' | |
paths-ignore: | |
- 'buildtools/docker/**' | |
- 'docs/**' | |
- '.vscode/**' | |
- '.devcontainer/**' | |
- '**.md' | |
jobs: | |
ffmpeg-fate: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/wangyoucao577/ffmpeg-build/linux-debian11 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
submodules: 'true' | |
- name: Build and run ffmpeg fate suites | |
run: | | |
export FFMPEG_ENABLE_FATE_TESTS=true | |
buildtools/scripts/build.sh | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: ffbuild-logs-fate | |
path: ffmpeg/ffbuild/config.log | |
ffmpeg-coverage: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/wangyoucao577/ffmpeg-build/linux-debian11 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
submodules: 'true' | |
- name: Build with gcov and run ffmpeg fate suites | |
run: | | |
export FFMPEG_BUILD_TYPE=Debug | |
export FFMPEG_ENABLE_FATE_TESTS=true | |
export FFMPEG_TOOLCHAIN_COVERAGE=true | |
buildtools/scripts/build.sh | |
- name: Run acceptance tests | |
run: | | |
cd ffmpeg | |
export FFMPEG_BIN_PATH=. | |
../tests/acceptance-test.sh | |
# use gcvor instead of lcov https://trac.ffmpeg.org/wiki/FATE/TestingCoverage | |
# exclude '.*template.c' to avoid assert since they may compiled more than once, | |
# see more in https://github.com/gcovr/gcovr/issues/586 | |
- name: Generate coverage report | |
run: | | |
cd ffmpeg | |
mkdir -p coverage | |
gcovr -v --exclude '.*template.c' --html-details --output coverage/index.html | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ffmpeg-coverage | |
path: ffmpeg/coverage | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: ffbuild-logs-coverage | |
path: ffmpeg/ffbuild/config.log | |
# ffmpeg-valgrind-memcheck: | |
# timeout-minutes: 720 | |
# runs-on: ubuntu-latest | |
# container: | |
# image: ghcr.io/wangyoucao577/ffmpeg-build/linux-debian11 | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: | |
# fetch-depth: '0' | |
# submodules: 'true' | |
# - name: Build with gcov and run ffmpeg fate suites | |
# run: | | |
# export FFMPEG_BUILD_TYPE=Debug | |
# export FFMPEG_ENABLE_FATE_TESTS=true | |
# export FFMPEG_TOOLCHAIN_VALGRIND_MEMCHECK=true | |
# buildtools/scripts/build.sh | |
# - uses: actions/upload-artifact@v3 | |
# if: failure() | |
# with: | |
# name: ffbuild-logs-valgrind-memcheck | |
# path: ffmpeg/ffbuild/config.log |