diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b768e83..d5019d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,9 @@ jobs: matrix: platform: - { name: win-x64, os: ubuntu-20.04, flags: "--arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --disable-w32threads --extra-ldflags=\"-static-libgcc -static-libstdc++ -static -s\"" } + - { name: linux-x64, os: ubuntu-20.04, flags: "--arch=x86_64 --extra-ldflags=\"-static-libgcc -static-libstdc++\"" } steps: - - name: Setup Linux dependencies + - name: Setup Linux common dependencies if: runner.os == 'Linux' run: | sudo apt-get install yasm \ @@ -29,9 +30,11 @@ jobs: git \ pkg-config \ libtool-bin \ - nasm \ - gcc-mingw-w64-x86-64 \ - g++-mingw-w64-x86-64 + nasm + - name: Setup MinGW64 dependencies + if: ${{ matrix.platform.name == 'win-x64' }} + run: | + sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 - uses: actions/checkout@v2 with: repository: FFmpeg/FFmpeg