Skip to content

Commit

Permalink
add pkgs: ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
valord577 committed May 14, 2024
1 parent 0b6c3bd commit 50800d8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
required: false
type: boolean
disable_upload:
default: true
default: false
required: false
type: boolean

Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ffmpeg
on:
push:
branches:
- main
paths:
- '.github/workflows/_buildx.yml'
- '.github/workflows/ffmpeg.yml'
- 'deps/ffmpeg'
- 'patchs/ffmpeg/**'
- 'scripts/ffmpeg.sh'
- 'build.sh'
- 'env-apple.sh'
- 'pkg-conf.sh'
pull_request:
branches:
- main
paths:
- '.github/workflows/_buildx.yml'
- '.github/workflows/ffmpeg.yml'
- 'deps/ffmpeg'
- 'patchs/ffmpeg/**'
- 'scripts/ffmpeg.sh'
- 'build.sh'
- 'env-apple.sh'
- 'pkg-conf.sh'

jobs:
build:
secrets: inherit
uses: ./.github/workflows/_buildx.yml
with:
disable_shared: false
2 changes: 1 addition & 1 deletion scripts/ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
# packages
# ----------------------------
source "${PROJ_ROOT}/pkg-conf.sh"
dl_pkgc mbedtls '2ca6c28' static '' '--enable-mbedtls'
dl_pkgc mbedtls 'v3.6.0' static '' '--enable-mbedtls'
dl_pkgc sdl2 'fb14975' static '' ''

printf "\e[1m\e[35m%s\e[0m\n" "${PKG_CONFIG_PATH}"
Expand Down

0 comments on commit 50800d8

Please sign in to comment.