forked from PyAV-Org/pyav-ffmpeg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
joepers
committed
Nov 15, 2024
1 parent
ef6da67
commit cce5c32
Showing
3 changed files
with
67 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,21 +20,21 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- os: macos-14 | ||
arch: arm64 | ||
shell: bash | ||
- os: macos-13 | ||
arch: x86_64 | ||
shell: bash | ||
- os: ubuntu-latest | ||
arch: i686 | ||
shell: bash | ||
# - os: macos-14 | ||
# arch: arm64 | ||
# shell: bash | ||
# - os: macos-13 | ||
# arch: x86_64 | ||
# shell: bash | ||
# - os: ubuntu-latest | ||
# arch: i686 | ||
# shell: bash | ||
- os: ubuntu-latest | ||
arch: x86_64 | ||
shell: bash | ||
- os: windows-latest | ||
arch: AMD64 | ||
shell: 'msys2 {0}' | ||
# - os: windows-latest | ||
# arch: AMD64 | ||
# shell: 'msys2 {0}' | ||
defaults: | ||
run: | ||
shell: ${{ matrix.shell }} | ||
|
@@ -46,17 +46,32 @@ jobs: | |
- name: Set deployment target | ||
if: matrix.os == 'macos-13' || matrix.os == 'macos-14' | ||
run: echo "MACOSX_DEPLOYMENT_TARGET=10.13" >> $GITHUB_ENV | ||
- name: Install packages | ||
- name: Install packages for macos | ||
if: matrix.os == 'macos-13' || matrix.os == 'macos-14' | ||
run: | | ||
brew update | ||
brew install pkg-config | ||
brew install pkg-config [email protected] | ||
brew unlink gettext libidn2 libpng libtiff libunistring libx11 libxau libxcb libxdmcp little-cms2 unbound | ||
- name: Install packages for linux | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install autoconf automake build-essential cmake libtool pkg-config nasm zlib1g-dev libvorbis-dev libx264-dev 'libgnutls.*-dev' libsrt-gnutls-dev gnutls-bin srt-tools 'libsrt.*-gnutls' libssl-dev | ||
- uses: msys2/setup-msys2@v2 | ||
if: matrix.os == 'windows-latest' | ||
with: | ||
install: base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-gperf mingw-w64-x86_64-nasm | ||
path-type: inherit | ||
- name: list | ||
run: | | ||
echo 1111111 | ||
dpkg -L libsrt1.4-gnutls | ||
echo 2222222 | ||
dpkg -L libsrt-gnutls-dev | ||
echo 3333333 | ||
ls -a /usr/lib/x86_64-linux-gnu/pkgconfig || echo 123123 | ||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/pkgconfig | ||
echo $PKG_CONFIG_PATH | ||
- name: Build FFmpeg | ||
env: | ||
CIBW_ARCHS: ${{ matrix.arch }} | ||
|
@@ -76,7 +91,7 @@ jobs: | |
with: | ||
name: output-${{ matrix.os }}-${{ matrix.arch }} | ||
path: output/ | ||
|
||
build-qemu-stage-1: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters