federicocarboni / setup-ffmpeg

Set up your GitHub Actions workflow with ffmpeg
MIT License
110 stars 13 forks source link

Darwin ARM64: Unsupported architecture #21

Open henryruhs opened 5 months ago

henryruhs commented 5 months ago

Error: AssertionError [ERR_ASSERTION]: Unsupported architecture (only x64 is supported)

using latest MacOS on GitHub Action:

Current runner version: '2.316.0'
Operating System
  macOS
  14.4.1
  23E224
Runner Image
  Image: macos-14-arm64
  Version: 20240422.3

worked before the update of their images:

Current runner version: '2.315.0'
Operating System
  macOS
  12.7.4
  21H1123
Runner Image
  Image: macos-12
  Version: 20240412.2
henryruhs commented 5 months ago

I suggest a daily cron for your repo to check for future image updates.

temporary fix: use macos-12 or macos-13 ... using ffmpeg: 6.1.1 does not resolve the issue

federicocarboni commented 5 months ago

ARM is not supported on macos

https://evermeet.cx/ffmpeg/#remarks

federicocarboni commented 5 months ago

Just to clarify what is going on, this action just downloads builds from evermeet.cx and since it doesn't support ARM we can't either.

This is not fixable without finding some source that provides ARM builds.

henryruhs commented 5 months ago

Homebrew is not an option?

brew install ffmpeg
chapmanjacobd commented 5 months ago

Just dropping these links here, which are related to the change in default arch for mac-os runner:

raivisdejus commented 4 months ago

@federicocarboni is this helpful http://www.osxexperts.net/ ? Seems to have ffmpeg builds on ARM

sun1638650145 commented 4 months ago

I am also encountering a similar issue: macos-latest is now using M1.