jirutka / setup-alpine

Easily use Alpine Linux on GitHub Actions, with support for QEMU user emulator
MIT License
93 stars 14 forks source link

Issue with aarch64 emulation #10

Open zacksiri opened 8 months ago

zacksiri commented 8 months ago

Thank you for making this action it's much more elegant than using docker.

It tried this out last night and ran into an issue with aarch64 simulation.

When I ran the native x86_64 version things worked as expected however when I switched the arch to aarch64 I got a failed build.

You can see the example here.

https://github.com/upmaru-stage/locomo/actions/runs/6598676983/job/17927100353

After it failed the job kept running so I had to manually cancel

Here is the native version that succeeded

https://github.com/upmaru-stage/locomo/actions/runs/6598606683/job/17926843672

zacksiri commented 8 months ago

Could this issue be related? https://elixirforum.com/t/arm64-otp-25-qemu-mix-local-hex-force-hangs/48664/7

Update:

I saw you are referencing latest-stable which uses qemu 8.0.5 if the thread is correct updating to edge should solve this problem

I will try to find a way to reference edge version of qemu to see if it solves.

zacksiri commented 8 months ago

So I updated qemu it seems there is still some issue with jit enabled otp25 but that is a qemu problem. I've created a PR for enabling choosing qemu repo.