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

test: Add an s390x build (on alpine) for CI. #2429

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Nov 22, 2023

It doesn't work at all, because we're missing something in the net code to do with endian conversions. I haven't investigated, yet, but at least now we have a failing test that can be investigated.

Also moved to cmake 3.5 at minimum. CMake will stop supporting lower versions than that, soon.

Also moved to C11 from C99 to get static_assert.


This change is Reviewable

@iphydf iphydf added this to the v0.2.19 milestone Nov 22, 2023
@iphydf iphydf requested a review from a team as a code owner November 22, 2023 11:53
@iphydf iphydf marked this pull request as draft November 22, 2023 11:53
@iphydf iphydf marked this pull request as ready for review November 22, 2023 13:34
Copy link
Member

@JFreegman JFreegman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 22 of 22 files at r1, all commit messages.
Reviewable status: :shipit: complete! 2 of 1 approvals obtained

@iphydf iphydf force-pushed the s390x branch 2 times, most recently from dd318ad to 2d01095 Compare November 22, 2023 16:13
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (6c35cef) 74.51% compared to head (7155f7f) 74.47%.

Files Patch % Lines
toxcore/network.c 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2429      +/-   ##
==========================================
- Coverage   74.51%   74.47%   -0.05%     
==========================================
  Files          87       87              
  Lines       26244    26244              
==========================================
- Hits        19556    19545      -11     
- Misses       6688     6699      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@nurupo nurupo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! 3 of 1 approvals obtained

Copy link
Member

@nurupo nurupo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 19 of 22 files at r1.
Reviewable status: :shipit: complete! 3 of 1 approvals obtained

@iphydf iphydf force-pushed the s390x branch 2 times, most recently from bc0b0fe to f11890f Compare November 22, 2023 17:59
It doesn't work at all, because we're missing something in the net code
to do with endian conversions. I haven't investigated, yet, but at least
now we have a failing test that can be investigated.

Also moved to cmake 3.5 at minimum. CMake will stop supporting lower
versions than that, soon.

Also moved to C11 from C99 to get `static_assert`.

Also made a network ERROR into a WARNING. It triggers on FreeBSD.
@iphydf iphydf merged commit 7155f7f into TokTok:master Nov 22, 2023
34 of 38 checks passed
@iphydf iphydf deleted the s390x branch November 22, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants