Update build.yml
This commit is contained in:
parent
1181c49e06
commit
1850cec658
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
default: 'Debug'
|
default: 'Debug'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
oneVPL:
|
onevpl:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- name: Set up WSL
|
- name: Set up WSL
|
||||||
@ -49,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
FFmpeg:
|
FFmpeg:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
needs: [oneVPL]
|
needs: [onevpl]
|
||||||
steps:
|
steps:
|
||||||
- name: Set up WSL
|
- name: Set up WSL
|
||||||
uses: Vampire/setup-wsl@v1.2.0
|
uses: Vampire/setup-wsl@v1.2.0
|
||||||
@ -66,6 +66,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ~/build
|
path: ~/build
|
||||||
key: ${{ env.cache-name }}
|
key: ${{ env.cache-name }}
|
||||||
|
- name: Set up GIT
|
||||||
|
shell: cmd {0}
|
||||||
|
run: git config --global core.autocrlf false
|
||||||
- name: Cloning GIT repository
|
- name: Cloning GIT repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -81,8 +84,6 @@ jobs:
|
|||||||
BUILD=$(realpath build)
|
BUILD=$(realpath build)
|
||||||
tar zxf *.tgz -C build
|
tar zxf *.tgz -C build
|
||||||
cd repos/ffmpeg
|
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
|
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
|
ls -laR $BUILD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user