codecov-circleci-orb
codecov-circleci-orb copied to clipboard
arm64 architecture downloads the amd64 binary
Running a job in circleCI arm64 arch fails as codecov/upload
downloads the binary for amd64
Detected linux Downloading https://cli.codecov.io/la****/linux/codecov
Log:
./"codecov" create-commit -t <redacted> /bin/bash: line 40: ./codecov: cannot execute binary file: Exec format error
@trent-codecov can you take a look here?
@libert-xyz can you share the container/image you are using to run on?
Hi @thomasrockhu-codecov
Facing exactly the same issue. I am using my custom image.
I guess the problem is that the Orb never detects the CPU architecture, and always downloads amd64
executable: linux
or alpine
. The fix should be pretty easy.
@libert-xyz can you share the container/image you are using to run on?
Hi @thomasrockhu-codecov
I'm using ubuntu:20.04 arm
I opened this PR against the wrapper submodule to fix this @thomasrockhu-codecov
https://github.com/codecov/wrapper/pull/1
This should be fixed now with the newest release