Update build.yml

This commit is contained in:
Daniel Stankewitz 2022-03-20 10:22:37 +01:00 committed by GitHub
parent 070b16cc10
commit f017fa549d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,26 +29,17 @@ jobs:
with: with:
path: ~/build path: ~/build
key: ${{ env.cache-name }} key: ${{ env.cache-name }}
- name: Set up GIT # - name: Get artifacts
shell: cmd {0} # uses: actions/download-artifact@master
run: | # with:
git config --global core.eol lf # name: oneVPL
git config --global core.autocrlf input
- name: Cloning GIT repository
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Get artifacts
uses: actions/download-artifact@master
with:
name: oneVPL
- name: Build FFmpeg - name: Build FFmpeg
shell: wsl-bash {0} shell: wsl-bash {0}
run: | run: |
sudo ap-get install dos2unix git clone -q -b release/5.0 https://github.com/FFmpeg/FFmpeg.git ffmpeg
mkdir build mkdir build
BUILD=$(realpath build) BUILD=$(realpath build)
tar zxf *.tgz -C build tar zxf *.tgz -C build
cd repos/ffmpeg cd ffmpeg
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 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
ls -laR $BUILD ls -laR $BUILD