shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.85k stars 334 forks source link

Add support for arm64 Linux and Windows GitHub hosted runners #848

Open LorenzoRogai opened 1 month ago

LorenzoRogai commented 1 month ago

Github released arm64 hosted runners

https://github.blog/changelog/2024-06-03-actions-arm-based-linux-and-windows-runners-are-now-in-public-beta

The install process goes slow then fails with this error

/home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/../scripts/tools/add_tools.sh: line 31: /usr/bin/php: cannot execute binary file: Exec format error
shivammathur commented 1 month ago

Those are not supported by the action currently.

I will try to add support in future, but no promises until it only supports large runners.

LorenzoRogai commented 1 month ago

Thank you for your response. They are configurable inside large runners section instead of a fixed default GitHub runs-on tag but already available to all customers on Team/Enterprise plans. Considering that these runners also cost 0.005€ instead of 0.008€ i think that many ppl will switch to them