Skip to content
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

Fix coverage CI job #382

Merged
merged 3 commits into from
Feb 5, 2025
Merged

Fix coverage CI job #382

merged 3 commits into from
Feb 5, 2025

Conversation

sfod
Copy link
Contributor

@sfod sfod commented Feb 3, 2025

Issue #, if available:

Currently, codecov CI job silently fails with the following errors (see codecov-linux CI job in the first commit in this PR):

.Segmentation fault
Problem running coverage on file: /home/runner/work/aws-c-mqtt/aws-c-mqtt/build/aws-c-mqtt/tests/CMakeFiles/aws-c-mqtt-tests.dir/v5/mqtt5_client_tests.c.gcda
Command produced error: /home/runner/work/aws-c-mqtt/aws-c-mqtt/build/aws-c-mqtt/tests/CMakeFiles/aws-c-mqtt-tests.dir/v5/mqtt5_client_tests.c.gcno:version 'A95*', prefer 'B33*'
Segmentation fault

These errors are caused by incompatibility between gcov and gcc of a specified version.

Description of changes:

Use default gcc in codecov CI job.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sfod sfod merged commit 1bf1224 into main Feb 5, 2025
35 checks passed
@sfod sfod deleted the fix-gcov branch February 5, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants