I am compiling an elixir app on Ubuntu 18.04 in github actions and trying to run it in an Amazon Linux 2 system and I get the error "Unusable Erlang runtime system! This is likely due to being compiled for another system than the host is running"
I checked to make sure both were running on an x86_64 system and that does appear to be the case. Github Actions Ubuntu uname: Linux fv-az21-804 5.4.0-1036-azure #38~18.04.1-Ubuntu SMP Wed Jan 6 18:26:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Amazon Linux 2 uname: Linux ip-172-10-201-177.ec2.internal 4.14.209-160.339.amzn2.x86_64 #1 SMP Wed Dec 16 22:44:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
OTP Version: 23.2.1 Elixir Version: 1.11.3
I am at a loss as to what could be going on. Any thoughts?