Partially done fast seeking for lossless audio formats #72
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: Windows | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: UCRT64 | |
update: true | |
install: >- | |
autoconf | |
automake | |
base-devel | |
git | |
libtool | |
mingw-w64-ucrt-x86_64-dav1d | |
mingw-w64-ucrt-x86_64-jansson | |
mingw-w64-ucrt-x86_64-meson | |
mingw-w64-ucrt-x86_64-nasm | |
mingw-w64-ucrt-x86_64-toolchain | |
mingw-w64-ucrt-x86_64-vapoursynth | |
mingw-w64-ucrt-x86_64-vulkan-headers | |
- name: Install nv-codec-headers | |
run: | | |
git clone https://github.com/FFmpeg/nv-codec-headers.git --depth 1 | |
pushd nv-codec-headers | |
sed -e 's#/usr/local#/ucrt64#' -i Makefile | |
make install -j2 | |
popd | |
rm -rf nv-codec-headers | |
- name: Install FFmpeg | |
run: | | |
git clone https://git.ffmpeg.org/ffmpeg.git --depth 1 | |
pushd ffmpeg | |
./configure --prefix=/ucrt64 --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --enable-libdav1d --disable-nvenc --disable-debug | |
make install -j2 | |
popd | |
rm -rf ffmpeg | |
- name: Build | |
run: | | |
meson setup -Dlink_static=true build | |
ninja -C build | |
strip build/libbestsource.dll | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: libbestsource | |
path: build/libbestsource.dll |