Solution for anyone trying to install AppVeyor BYOC on an M1 Mac
Following the default instructions at (https://www.appveyor.com/docs/byoc/mac/) end up with an error at the point of installing the AppVeyor host agent, relating to the architecture.
I think the AppVeyor cmdlet needs updating to support M1 or something (not really sure), but in the meantime you can do it via emulation:
First Install Homebrew to run under Rosetta (this can exist fine alongside a native install):
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
When installing powershell do it like this instead:
arch -x86_64 brew install cask powershell
Now follow the usual instructions once inside a powershell terminal, to install the AppVeyor Host Agent.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 03 Oct, 2021 11:51 PM
Hi Oliver,
Thanks for sharing the instructions! Even if there is .NET 6 now which supports M1 PowerShell itself is still based on .NET 5, so emulation is, perhaps, the only solution now.
Feodor Fitsner closed this discussion on 04 Dec, 2021 09:02 PM.
Oliver Collyer re-opened this discussion on 09 Sep, 2022 12:13 PM
2 Posted by Oliver Collyer on 09 Sep, 2022 12:13 PM
Now that MS have released a version of .Net with native Arm64 support, could we see some movement on properly supporting the host-agent on M1 Macs?
https://devblogs.microsoft.com/dotnet/announcing-dotnet-framework-481/