krdlab / setup-haxe

Set up a specific version of Haxe environment for your workflow.
MIT License
38 stars 9 forks source link

Support ARM OSX #48

Closed Aidan63 closed 3 months ago

Aidan63 commented 4 months ago

The macos-latest runner is now ARM so setup-haxe fails with unsupported arch. I've added extra checks to allow arm64 if the OS is mac so things work as expected. I've not used typescript before and was getting some errors I didn't understand while trying to keep the switch statement, so just switched to a series of if statements.

Aidan63 commented 3 months ago

I've fixed the merge conflict as well as changed some things based on new developments.

Neko now has a 2.4 release candidate which is a universal binary, and haxe nightlies (along with the upcoming 4.3.5 release) will be fully universal. So by using the new neko release it will be running native instead of through Apple's emulation layer. Neko 2.4 is compatible with all haxe 4.x releases so can be used in place of 2.3.