Update build.yml

This commit is contained in:
Daniel Stankewitz 2022-03-20 09:30:39 +01:00 committed by GitHub
parent 1181c49e06
commit 1850cec658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ on:
default: 'Debug'
jobs:
oneVPL:
onevpl:
runs-on: windows-2019
steps:
- name: Set up WSL
@ -49,7 +49,7 @@ jobs:
FFmpeg:
runs-on: windows-2019
needs: [oneVPL]
needs: [onevpl]
steps:
- name: Set up WSL
uses: Vampire/setup-wsl@v1.2.0
@ -66,6 +66,9 @@ jobs:
with:
path: ~/build
key: ${{ env.cache-name }}
- name: Set up GIT
shell: cmd {0}
run: git config --global core.autocrlf false
- name: Cloning GIT repository
uses: actions/checkout@v3
with:
@ -81,8 +84,6 @@ jobs:
BUILD=$(realpath build)
tar zxf *.tgz -C build
cd repos/ffmpeg
PKG_CONFIG_PATH=$BUILD/lib/pkgconfig
echo $PKG_CONFIG_PATH
echo ./configure --toolchain=msvc --extra-cflags='-MDd -I$BUILD/include' --extra-ldflags='-LIBPATH:$BUILD/lib' --prefix=$BUILD --pkg-config-flags='--static' --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl --enable-libvpl
./configure --toolchain=msvc --extra-cflags='-MDd -I$BUILD/include' --extra-ldflags='-LIBPATH:$BUILD/lib' --prefix=$BUILD --pkg-config-flags='--static' --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl --enable-libvpl
PKG_CONFIG_PATH=$BUILD/lib/pkgconfig ./configure --toolchain=msvc --extra-cflags='-MDd -I$BUILD/include' --extra-ldflags='-LIBPATH:$BUILD/lib' --prefix=$BUILD --pkg-config-flags='--static' --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --disable-devices --disable-demuxers --disable-decoders --disable-network --enable-w32threads --enable-gpl --enable-libvpl
ls -laR $BUILD