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

64-bit integers and CI tests #244

Merged

Conversation

corentin-prigent
Copy link
Contributor

This updates adds Github actions for running continuous integrations tests with 64-bit integers.
It also fixes somes bugs related to data reading in binary files.

Copy link
Member

@Algiane Algiane left a comment

Choose a reason for hiding this comment

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

Thanks, just one small question... ;-)

@@ -171,7 +172,7 @@ int MMGS_loadMesh(MMG5_pMesh mesh, const char *filename) {
}
MMG_FREAD(&mesh->ver,MMG5_SW,1,inm);
if(iswp) mesh->ver = MMG5_swapbin(mesh->ver);
while(fread(&binch,MMG5_SW,1,inm)!=0 && binch!=54 ) {
while(fread(&binch,4,1,inm)!=0 && binch!=54 ) {
Copy link
Member

Choose a reason for hiding this comment

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

Why removing the macro here? Is it not the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a mistake. I reverted this change.

@Algiane Algiane added kind: bug error or fault kind: enhancement enhancement to an existing feature part: I/O specific to I/Os labels Mar 1, 2024
@Algiane
Copy link
Member

Algiane commented Mar 5, 2024

Also: can you check while some tests are failing, please (https://github.com/MmgTools/mmg/actions/runs/8097282072/job/22127995683?pr=244).
Thanks by advance!

@Algiane Algiane merged commit 4777de7 into MmgTools:develop Mar 26, 2024
24 checks passed
@Algiane
Copy link
Member

Algiane commented Mar 26, 2024

Perfect, thanks!

@corentin-prigent corentin-prigent deleted the feature/github-actions-int64 branch March 26, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug error or fault kind: enhancement enhancement to an existing feature part: I/O specific to I/Os part: int64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants