Update build.yml
This commit is contained in:
parent
d841b3b298
commit
984a61f8fc
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -7,13 +7,19 @@ on:
|
|||||||
description: 'Configuration'
|
description: 'Configuration'
|
||||||
required: true
|
required: true
|
||||||
default: 'Debug'
|
default: 'Debug'
|
||||||
|
|
||||||
|
env:
|
||||||
|
WSLENV: PATH/l
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
FFmpeg:
|
FFmpeg:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
needs: []
|
needs: []
|
||||||
steps:
|
steps:
|
||||||
|
- name: Set up development tools
|
||||||
|
shell: cmd {0}
|
||||||
|
run: ${{ env.VS2019INSTALLDIR }}\VC\Auxiliary\Build\vcvars64.bat
|
||||||
- name: Set up WSL
|
- name: Set up WSL
|
||||||
uses: Vampire/setup-wsl@v1.2.0
|
uses: Vampire/setup-wsl@v1.2.0
|
||||||
with:
|
with:
|
||||||
@ -46,14 +52,16 @@ jobs:
|
|||||||
- name: Build FFmpeg
|
- name: Build FFmpeg
|
||||||
shell: wsl-bash {0}
|
shell: wsl-bash {0}
|
||||||
run: |
|
run: |
|
||||||
export VS=/mnt/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise
|
echo $PATH
|
||||||
PATH=$VS/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64:$VS/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin:$PATH
|
cl.exe
|
||||||
|
#export VS=/mnt/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise
|
||||||
|
#PATH=$VS/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64:$VS/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin:$PATH
|
||||||
#sudo apt -y install yasm
|
#sudo apt -y install yasm
|
||||||
mkdir build
|
mkdir build
|
||||||
#BUILD=$(realpath build)
|
#BUILD=$(realpath build)
|
||||||
#tar zxf *.tgz -C build
|
#tar zxf *.tgz -C build
|
||||||
cd repo
|
#cd repo
|
||||||
PKG_CONFIG_PATH=../build/lib/pkgconfig ./configure --toolchain=msvc --extra-cflags='-MDd -I../build/include' --extra-ldflags='-LIBPATH:$VS/VC/Tools/MSVC/14.29.30133/lib/x64:../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 || true
|
#PKG_CONFIG_PATH=../build/lib/pkgconfig ./configure --toolchain=msvc --extra-cflags='-MDd -I../build/include' --extra-ldflags='-LIBPATH:$VS/VC/Tools/MSVC/14.29.30133/lib/x64:../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 || true
|
||||||
tail --lines=20 ffbuild/config.log
|
#tail --lines=20 ffbuild/config.log
|
||||||
ls -laR ../build
|
#ls -laR ../build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user