Skip to content

feat: upgrade dav1d to v1.3.0 #237

feat: upgrade dav1d to v1.3.0

feat: upgrade dav1d to v1.3.0 #237

Workflow file for this run

name: Build - win
on:
push:
branches:
- '**'
tags:
- 'v*'
paths-ignore:
- 'buildtools/docker/**'
- 'docs/**'
- '.vscode/**'
- '.devcontainer/**'
- '**.md'
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
include:
- { sys: mingw64, env: x86_64 }
- { sys: ucrt64, env: ucrt-x86_64 } # Experimental!
# - { sys: clang64, env: clang-x86_64 } # Experimental!
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
submodules: 'true'
# - name: Set up msvc
# uses: ilammy/msvc-dev-cmd@v1
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
path-type: inherit
install: >-
git make pkgconf diffutils zip tree
mingw-w64-${{matrix.env}}-gcc
mingw-w64-${{matrix.env}}-cmake mingw-w64-${{matrix.env}}-ninja
mingw-w64-${{matrix.env}}-meson mingw-w64-${{matrix.env}}-autotools
mingw-w64-${{matrix.env}}-yasm mingw-w64-${{matrix.env}}-nasm
mingw-w64-${{matrix.env}}-gperf mingw-w64-${{matrix.env}}-libpng
- name: Remove system installed openssl
run: |
# patch to avoid system installed ssl dependency
# in this env, mingw64/ucrt64 ssl will still be used rather than project-built
rm -f /c/Windows/SYSTEM32/libssl*.dll
rm -f /c/Windows/SYSTEM32/libcrypto*.dll
- name: Build
run: |
buildtools/scripts/build.sh
tree build
ldd build/bin/ffmpeg
- uses: actions/upload-artifact@v3
with:
name: ffmpeg-bin-${{matrix.sys}}
path: build/bin/
- uses: actions/upload-artifact@v3
if: failure()
with:
name: ffbuild-logs-${{ matrix.sys }}
path: ffmpeg/ffbuild/config.log
test:
needs: build
runs-on: windows-latest
strategy:
matrix:
include:
- { sys: mingw64, env: x86_64 }
- { sys: ucrt64, env: ucrt-x86_64 } # Experimental!
# - { sys: clang64, env: clang-x86_64 } # Experimental!
steps:
- uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: ffmpeg-bin-${{matrix.sys}}
path: ffmpeg-bin
- name: Test
run: |
./tests/acceptance-test.bat