jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
473 stars 81 forks source link

Error running on self-hosted M1 macOS #93

Closed vadi2 closed 3 years ago

vadi2 commented 3 years ago

The action seems to be failing when run on an M1 chip:

brew install p7zip
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
    arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
Error: The process 'brew' failed with exit code 1

(log: https://github.com/Mudlet/Mudlet/runs/2702045862?check_suite_focus=true)

vadi2 commented 3 years ago

Running brew install p7zip manually on the machine directly worked, and the action was happy with that - it skipped it next time.

jurplel commented 3 years ago

Interesting, glad you got it working.