Skip to content

Commit

Permalink
Moving ffmpeg to dynamic dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanth-descript committed Jul 24, 2024
1 parent ed71d82 commit b27dc79
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 113 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: node ./install_ffmpeg.js

- name: prebuild for Linux (x64)
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node)$' --upload ${{ secrets.GITHUB_TOKEN }}

windows-package:
permissions:
Expand Down Expand Up @@ -89,10 +89,10 @@ jobs:
run: node ./install_ffmpeg.js --arch arm64

- name: prebuild Release for macOS (x64)
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}

- name: clean build directory for cross-compiling
run: rm ./build/Release/*.dylib || true

- name: prebuild Release for macOS (arm64)
run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit b27dc79

Please sign in to comment.