Add Linux x64 CI

This commit is contained in:
Mary 2022-12-08 20:05:47 +01:00
parent 6fd20748ed
commit 24e6cf51d3

View file

@ -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