Update ffmpeg.yml

This commit is contained in:
Daniel Stankewitz 2022-03-20 13:17:26 +01:00 committed by GitHub
parent 1a3a22085f
commit b8fee02976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ jobs:
- name: Set up Msys2 - name: Set up Msys2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
install: base-devel binutils mingw-w64-x86_64-cmake pkg-config install: base-devel binutils mingw-w64-x86_64-cmake pkg-config git
path-type: inherit path-type: inherit
- name: Set up MSBuild - name: Set up MSBuild
uses: microsoft/setup-msbuild@v1.1 uses: microsoft/setup-msbuild@v1.1
@ -33,16 +33,10 @@ jobs:
with: with:
path: ~/build path: ~/build
key: ${{ env.cache-name }} key: ${{ env.cache-name }}
- name: Set up GIT
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout FFmpeg - name: Checkout FFmpeg
uses: actions/checkout@v3.0.0 shell: msys2 {0}
with: run: |
repository: FFmpeg/FFmpeg.git git clone -q -b release/5.0 https://github.com/FFmpeg/FFmpeg.git repo
ref: release/5.0
path: repo
# - name: Set up project files # - name: Set up project files
# uses: actions/download-artifact@master # uses: actions/download-artifact@master
# with: # with:
@ -50,15 +44,15 @@ jobs:
- name: msys2 - name: msys2
shell: msys2 {0} shell: msys2 {0}
run: | run: |
echo $PATH #echo $PATH
#export VS=/mnt/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2019/Enterprise #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 #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
# - name: Get artifacts # - name: Get artifacts