-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codecov uploader fails on Apple ARM64 hardware #141
Comments
@hansjhoffman have you tried downloading the |
I did try as you suggested. Running |
Has the associated github action been updated? |
Yeah, thanks, it works: https://github.com/filewatcher/filewatcher/pull/257/files https://cirrus-ci.com/task/5340143817588736 But we're still waiting for correct ARM build for macOS. |
We will be pursuing ARM64 support in our codecov-cli, which will become the default system underpinning the github action in the near future. Therefore, github actions users should see the action work under arm64 in the near future. We will follow up on this ticket when the codecov-cli becomes the default for the action with further instruction about how to have the action work under arm64 (if further action by end users is needed). We're currently determining if this will work ootb for apple arm64. |
Hi everyone We've released a new version of the codecov action and CLI that adds support for |
Hi! Am I understand correctly that |
@kajornsakp, the |
The |
Otherwise we have been failing to upload codecov reports on appveyor for awhile. The https://cli.codecov.io/macos/latest "folder" cannot be used directly -- url there is leading to versioned codecov release so I am using that one. Pros: no surprises. Solution found at codecov/feedback#141 (comment) Here is how two differ: ❯ wget https://cli.codecov.io/v0.7.4/macos/codecov ... Length: 22362720 (21M) [application/octet-stream] Saving to: ‘codecov’ codecov 100%[=========================>] 21.33M 81.5MB/s in 0.3s 2024-08-30 08:22:04 (81.5 MB/s) - ‘codecov’ saved [22362720/22362720] ❯ wget https://uploader.codecov.io/latest/macos/codecov ... Length: 52719456 (50M) [application/octet-stream] Saving to: ‘codecov.1’ codecov.1 100%[=========================>] 50.28M 88.9MB/s in 0.6s 2024-08-30 08:22:12 (88.9 MB/s) - ‘codecov.1’ saved [52719456/52719456] ❯ file codecov* codecov: Mach-O universal binary with 2 architectures: [x86_64:\012- Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>] [\012- arm64:\012- Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>] codecov.1: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|PIE|HAS_TLV_DESCRIPTORS>
Otherwise we have been failing to upload codecov reports on appveyor for awhile. The https://cli.codecov.io/macos/latest "folder" cannot be used directly -- url there is leading to versioned codecov release so I am using that one. Pros: no surprises. Solution found at codecov/feedback#141 (comment) Here is how two differ: ❯ wget https://cli.codecov.io/v0.7.4/macos/codecov ... Length: 22362720 (21M) [application/octet-stream] Saving to: ‘codecov’ codecov 100%[=========================>] 21.33M 81.5MB/s in 0.3s 2024-08-30 08:22:04 (81.5 MB/s) - ‘codecov’ saved [22362720/22362720] ❯ wget https://uploader.codecov.io/latest/macos/codecov ... Length: 52719456 (50M) [application/octet-stream] Saving to: ‘codecov.1’ codecov.1 100%[=========================>] 50.28M 88.9MB/s in 0.6s 2024-08-30 08:22:12 (88.9 MB/s) - ‘codecov.1’ saved [52719456/52719456] ❯ file codecov* codecov: Mach-O universal binary with 2 architectures: [x86_64:\012- Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>] [\012- arm64:\012- Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>] codecov.1: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|PIE|HAS_TLV_DESCRIPTORS>
Describe the bug
Downloading the recommended mac uploader fails with the following message:
bad CPU type in executable
To Reproduce
Steps to reproduce the behavior:
v0.6.3
&v0.6.2
)chmod +x uploader
./uploader
in root of projectExpected behavior
Uploader works like normal
Sytem Info
The text was updated successfully, but these errors were encountered: