Update build.yml
This commit is contained in:
parent
bdb6b00e8c
commit
135c3a29e3
48
.github/workflows/build.yml
vendored
48
.github/workflows/build.yml
vendored
@ -20,50 +20,8 @@ jobs:
|
||||
- name: Set up development tools
|
||||
shell: cmd {0}
|
||||
run: |
|
||||
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
set
|
||||
- name: Set up WSL
|
||||
uses: Vampire/setup-wsl@v1.2.0
|
||||
with:
|
||||
distribution: Ubuntu-20.04
|
||||
- name: Set up MSBuild
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
with:
|
||||
msbuild-architecture: x64
|
||||
- name: Set up cache
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cache-ffmpeg
|
||||
with:
|
||||
path: ~/build
|
||||
key: ${{ env.cache-name }}
|
||||
- name: Set up GIT
|
||||
run: |
|
||||
git config --global core.autocrlf false
|
||||
git config --global core.eol lf
|
||||
- name: Checkout FFmpeg
|
||||
uses: actions/checkout@v3.0.0
|
||||
with:
|
||||
repository: FFmpeg/FFmpeg.git
|
||||
ref: release/5.0
|
||||
path: repo
|
||||
# - name: Get artifacts
|
||||
# uses: actions/download-artifact@master
|
||||
# with:
|
||||
# name: oneVPL
|
||||
- name: Build FFmpeg
|
||||
shell: wsl-bash {0}
|
||||
run: |
|
||||
echo $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
|
||||
mkdir build
|
||||
#BUILD=$(realpath build)
|
||||
#tar zxf *.tgz -C build
|
||||
#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
|
||||
#tail --lines=20 ffbuild/config.log
|
||||
#ls -laR ../build
|
||||
dir "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build"
|
||||
set
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user