Skip to content

Commit 40f07ee

Browse files
feat: support linux arm64 (#83)
1 parent 54cc377 commit 40f07ee

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
os:
2727
- windows-latest
2828
- ubuntu-latest
29+
- ubuntu-24.04-arm
2930
- macos-13
3031
- macos-14 # Mac M1 (ARM64)
3132

src/download.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ pub fn ffmpeg_download_url() -> Result<&'static str> {
3333
Ok("https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip")
3434
} else if cfg!(all(target_os = "linux", target_arch = "x86_64")) {
3535
Ok("https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz")
36+
} else if cfg!(all(target_os = "linux", target_arch = "aarch64")) {
37+
Ok("https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-arm64-static.tar.xz")
3638
} else if cfg!(all(target_os = "macos", target_arch = "x86_64")) {
3739
Ok("https://evermeet.cx/ffmpeg/getrelease/zip")
3840
} else if cfg!(all(target_os = "macos", target_arch = "aarch64")) {

0 commit comments

Comments
 (0)