codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

Autodetect ARM runners support

Open Antonito opened this issue 3 years ago • 4 comments

Hello,

I've been trying to use this action in a self-hosted ARM64 Linux runner but the action pulls a x86_64 ELF instead of an ARM64 one:

ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=f63fec383878964009a2418a624a6ed92c762dad, for GNU/Linux 2.6.32, stripped

Is there any plan to support this?

~~I guess a work-around would be to manually build https://github.com/codecov/uploader for this architecture, but I'd much rather use the codecov-action to keep a consistent .yaml between self-hosted runners & the Github ones~~

Edit: Blocked by https://github.com/codecov/uploader/issues/523

Antonito avatar Feb 11 '22 11:02 Antonito

This is solved in the new version by providing os: aarch64.

cschmatzler avatar Apr 29 '23 19:04 cschmatzler

@cschmatzler This is solved in the new version by providing os: aarch64.

Can we have this be auto-detected by the script? I don't need to specify Windows or Linux so it would be nice if this just worked as well.

Porges avatar Jun 27 '23 21:06 Porges

Yes still an issue; according to docs aarch64 is not documented and this is not OS...

/Users/runner/actions-runner/_work/_actions/codecov/codecov-action/v3/dist/codecov -n  -Q github-action-3.1.4 -f info.lcov -C 6ab438a7a065017f970c8e58afbb3b53b1703917
Error: spawn Unknown system error -86
zsh: bad CPU type in executable: /Users/runner/actions-runner/_work/_actions/codecov/codecov-action/v3/dist/codecov

freef4ll avatar Sep 27 '23 13:09 freef4ll

This is already supported in the underlying coverage uploader tool now. A fix here would be clutch.

0xAlcibiades avatar Nov 16 '23 05:11 0xAlcibiades