Skip to content

Commit

Permalink
Fix DOS device path issue in Windows action build
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyWu committed Feb 25, 2025
1 parent 0c150fe commit f5ffc21
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,50 +17,50 @@ jobs:

- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
msystem: CLANG64
update: true
install: >-
autoconf
automake
base-devel
git
libtool
mingw-w64-ucrt-x86_64-cmake
mingw-w64-ucrt-x86_64-dav1d
mingw-w64-ucrt-x86_64-lcms2
mingw-w64-ucrt-x86_64-libjxl
mingw-w64-ucrt-x86_64-libxml2
mingw-w64-ucrt-x86_64-meson
mingw-w64-ucrt-x86_64-nasm
mingw-w64-ucrt-x86_64-opus
mingw-w64-ucrt-x86_64-toolchain
mingw-w64-ucrt-x86_64-vapoursynth
mingw-w64-ucrt-x86_64-vulkan-headers
mingw-w64-ucrt-x86_64-xxhash
mingw-w64-clang-x86_64-cmake
mingw-w64-clang-x86_64-dav1d
mingw-w64-clang-x86_64-lcms2
mingw-w64-clang-x86_64-libjxl
mingw-w64-clang-x86_64-libxml2
mingw-w64-clang-x86_64-meson
mingw-w64-clang-x86_64-nasm
mingw-w64-clang-x86_64-opus
mingw-w64-clang-x86_64-toolchain
mingw-w64-clang-x86_64-vapoursynth
mingw-w64-clang-x86_64-vulkan-headers
mingw-w64-clang-x86_64-xxhash
- name: Install nv-codec-headers
run: |
git clone https://github.com/FFmpeg/nv-codec-headers.git --depth 1
pushd nv-codec-headers
make install -j$(nproc) PREFIX=/ucrt64
make install -j$(nproc) PREFIX=/clang64
popd
rm -rf nv-codec-headers
- name: Install XEVD
run: |
git clone https://github.com/mpeg5/xevd.git
pushd xevd
cmake --install-prefix /ucrt64 -S . -B build
cmake --install-prefix /clang64 -S . -B build
ninja -C build install
popd
rm -rf xevd
mv /ucrt64/lib/xevd/libxevd.a /ucrt64/lib
mv /clang64/lib/xevd/libxevd.a /clang64/lib
- 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-swscale --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --enable-lcms2 --enable-libdav1d --enable-libjxl --enable-libopus --enable-libxevd --enable-libxml2 --disable-nvenc --pkg-config-flags=--static --disable-debug
./configure --prefix=/clang64 --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-avdevice --disable-swresample --disable-swscale --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --enable-lcms2 --enable-libdav1d --enable-libjxl --enable-libopus --enable-libxevd --enable-libxml2 --disable-nvenc --cc=clang --cxx=clang++ --pkg-config-flags=--static --disable-debug
make install -j$(nproc)
popd
rm -rf ffmpeg
Expand Down

0 comments on commit f5ffc21

Please sign in to comment.