Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ffmpeg n7.1 #21

Merged
merged 5 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,22 @@ on:
default: false
required: false
type: boolean
disable_upload:
disable_commit:
default: false
required: false
type: boolean
host_executable:
default: false
required: false
type: boolean
container_linux:
default: "linux310-gcc4"
required: false
type: string
container_linux_vers:
default: "07dcb8281c82686f54791e993f5f894360dfa5c9"
required: false
type: string
allow_failure:
default: false
required: false
Expand Down Expand Up @@ -67,19 +79,15 @@ jobs:
matrix=$(cat .github/matrix.json | jq -c -M "map(. | select($jq_expr) )")
matrix=$(echo ${matrix} | jq -c -M "map(if ${host_macos} then . + {os: \"macos-15\"} else . end)")

[ "${{ github.workflow }}" == "llvm" ] && \
${{ inputs.host_executable }} && \
{ matrix=$(echo ${matrix} | jq -c -M 'map(. | select((.platform=="macosx")) )'); }

printf "\e[1m\e[33m%s\e[0m\n" "matrix: $matrix"
echo "matrix={\"include\":$(echo $matrix)}" >> "$GITHUB_OUTPUT"
- name: set matrix container
id: set-matrix-container
run: |
container_linux_vers='07dcb8281c82686f54791e993f5f894360dfa5c9'
container_linux="valord577/linux310-gcc4-cross:${container_linux_vers}"
[ "${{ github.workflow }}" == "llvm" ] && \
{ container_linux="valord577/linux310-gcc7-cross:${container_linux_vers}"; }

container_linux="valord577/${{ inputs.container_linux }}-cross:${{ inputs.container_linux_vers }}"

matrix=$(cat .github/matrix_container.json | jq -c -M "map(. | select($jq_expr) )")
matrix=$(echo ${matrix} | jq -c -M "map(if .platform == \"linux\" then . + {image: \"${container_linux}\"} else . end)")
Expand Down Expand Up @@ -134,7 +142,7 @@ jobs:
name: ${{ env.PKG_ZIP_NAME }}
path: ${{ env.PKG_ZIP_NAME }}.tar
- name: commit to pre-compiled storage
if: ${{ github.event_name == 'push' && (! inputs.disable_upload) }}
if: ${{ github.event_name == 'push' && (! inputs.disable_commit) }}
run: |
zip -ry "${{ env.PKG_ZIP_NAME }}.zip" ${{ github.workflow }}
./.github/oss_v4.py push "${{ env.PKG_ZIP_NAME }}.zip" "${{ github.workflow }}/${{ needs._preset.outputs.pkgver }}/${{ env.PKG_ZIP_NAME }}.zip"
Expand Down Expand Up @@ -207,7 +215,7 @@ jobs:
name: ${{ env.PKG_ZIP_NAME }}
path: ${{ env.PKG_ZIP_NAME }}.tar
- name: commit to pre-compiled storage
if: ${{ github.event_name == 'push' && (! inputs.disable_upload) }}
if: ${{ github.event_name == 'push' && (! inputs.disable_commit) }}
run: |
zip -ry "${{ env.PKG_ZIP_NAME }}.zip" ${{ github.workflow }}
./.github/oss_v4.py push "${{ env.PKG_ZIP_NAME }}.zip" "${{ github.workflow }}/${{ needs._preset.outputs.pkgver }}/${{ env.PKG_ZIP_NAME }}.zip"
3 changes: 2 additions & 1 deletion .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ jobs:
secrets: inherit
uses: ./.github/workflows/_matrix.yml
with:
disable_commit: true
allow_failure: true
disable_upload: true
host_executable: true
4 changes: 3 additions & 1 deletion .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ jobs:
secrets: inherit
uses: ./.github/workflows/_matrix.yml
with:
disable_commit: true
allow_failure: true
disable_upload: true
host_executable: true
container_linux: "linux310-gcc7"
2 changes: 2 additions & 0 deletions .github/workflows/sdl2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ jobs:
build:
secrets: inherit
uses: ./.github/workflows/_matrix.yml
with:
host_executable: true
2 changes: 1 addition & 1 deletion deps/ffmpeg
Submodule ffmpeg updated 134 files
10 changes: 10 additions & 0 deletions patches/ffmpeg/09_more_gitignore.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/.gitignore b/.gitignore
index e810d11107..2f530448e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,3 +41,5 @@
/src
/mapfile
/tools/python/__pycache__/
+
+.cache
Loading