mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 13:58:20 +00:00
fix(aws-lambda): link GnuTLS dynamically in the arm64 ffmpeg build
With --static pkg-config flags, gnutls.pc names a libgmp.a from its own RPM build tree and configure rejected GnuTLS. The codec libraries exist only as static archives, so they still link statically. The recipe moves to image/, which will also hold the video function image stage.
This commit is contained in:
@@ -8,7 +8,7 @@ permissions:
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "packages/aws-lambda/ffmpeg/**"
|
||||
- "packages/aws-lambda/image/**"
|
||||
- ".github/workflows/lambda-ffmpeg.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Build and check
|
||||
run: >-
|
||||
docker buildx build --progress=plain --platform linux/arm64 --target artifact
|
||||
--output type=local,dest=out packages/aws-lambda/ffmpeg
|
||||
--output type=local,dest=out packages/aws-lambda/image
|
||||
- run: cat out/hf-media-check.txt && sha256sum out/*.tar.gz
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user