From ecb1e01944c37dd33947cf08967724cb288a0752 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Mon, 21 Mar 2022 08:38:35 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4ce9fb..e20d33f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,25 +14,9 @@ jobs: runs-on: windows-2019 needs: [] steps: - - 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: Set up WSL - uses: Vampire/setup-wsl@v1.2.0 - with: - additional-packages: - build-essential unzip nasm - name: Configure shell: cmd run: | - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" - md build - wsl bash --noprofile --norc -euo pipefail -c "export BUILD=$(realpath build) ; cd repo ; 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 ; make -j ; make install" - dir ../build + wsl --set-default-version 2 + wsl --install -d Debian +