Currently, build.ps1 always forces x86_64. On Windows, which support running binaries on an incompatible ISA, this makes sense, it since it means all Prefix extensions know what ISA to target. For Ubuntu, which does not have binary translation, use the actual ISA of the current machine.
Update .github/workflows/ci.yml to also run on Ubuntu with non-x86_64 ISAs (AArch64, RISC-V?).
Currently,
build.ps1always forcesx86_64. On Windows, which support running binaries on an incompatible ISA, this makes sense, it since it means all Prefix extensions know what ISA to target. For Ubuntu, which does not have binary translation, use the actual ISA of the current machine.Update
.github/workflows/ci.ymlto also run on Ubuntu with non-x86_64 ISAs (AArch64, RISC-V?).