添加 Windows ARM64 FFmpeg runtime 支持#32
Open
NihilDigit wants to merge 1 commit into
Open
Conversation
Him188
approved these changes
May 14, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
这个 PR 为 mediamp 增加 Windows ARM64 FFmpeg runtime artifact。
新增的 Windows ARM64 job 会使用 MSYS2 CLANGARM64 构建 FFmpeg,上传
mediamp-ffmpeg-runtime-windows-arm64artifact,并接入 release workflow,使最终 Maven publication 包含windows-arm64runtime jar。改动
windows-11-armrunner。WindowsArm64。WindowsX64继续使用 UCRT64。WindowsArm64使用 CLANGARM64。clangarm64/bin收集 Windows ARM64 runtime dependencies。clangarm64/bin查找llvm-objdump.exe。mediamp-ffmpeg-runtime-windows-arm64。验证
已在 Windows ARM64 本机验证:
生成的
windows-arm64runtime jar 包含:ffmpegkitjni.dllavcodec-62.dllavformat-62.dllavutil-60.dllswresample-6.dllswscale-9.dlllibcrypto-3-arm64.dlllibssl-3-arm64.dlletc/ssl/cert.pem也验证了:
kotlin .github\workflows\src.main.kts git diff --check说明
Windows ARM64 CI job 只构建并上传 FFmpeg runtime artifact。现有 Windows x64、Linux 和 macOS jobs 仍继续覆盖正常 Gradle checks。
Windows x64 保持使用 MSYS2 UCRT64。Windows ARM64 使用 MSYS2 CLANGARM64,因为这是 AArch64 Windows FFmpeg native build 可用的 MinGW/LLVM 环境。
src.main.kts是 workflow 源文件,build.yml/release.yml是生成结果;本 PR 同时提交生成后的 YAML。