Skip to content

Conversation

@bguo068
Copy link
Member

@bguo068 bguo068 commented Dec 23, 2025

Fix #803

@molpopgen
Copy link
Member

Thanks @bguo068 -- given that this PR is meant to address an architecture-specific issue, we also need the CI to be updated to run on the relevant architecture prior to any merging.

@bguo068
Copy link
Member Author

bguo068 commented Jan 5, 2026

Thanks @bguo068 -- given that this PR is meant to address an architecture-specific issue, we also need the CI to be updated to run on the relevant architecture prior to any merging.

Thanks for the comment @molpopgen . I am kind of new with GitHub Actions. Any suggestions on which of the workflow yaml files to look at? I am thinking about adding some item in the "matrix".

@molpopgen
Copy link
Member

Thanks @bguo068 -- given that this PR is meant to address an architecture-specific issue, we also need the CI to be updated to run on the relevant architecture prior to any merging.

Thanks for the comment @molpopgen . I am kind of new with GitHub Actions. Any suggestions on which of the workflow yaml files to look at? I am thinking about adding some item in the "matrix".

workflows/tests.yml is the most important one. In theory you should just be able to add the right OS label to the os matrix. (You may have to update the matrix in a few places?)

@bguo068 bguo068 force-pushed the main branch 2 times, most recently from 3e1d43a to c0365e7 Compare January 6, 2026 03:35
@bguo068
Copy link
Member Author

bguo068 commented Jan 6, 2026

I added the ubuntu-24.04-arm OS to the matrix under the test-64bit job in test.yml but not to other jobs. Hopefully, that's sufficient. After adding this OS, there are a few more compiler errors related to the c_char cast issue which were also fixed. All changes have been squashed into a single commit. Please let me know if this is adequate. Thanks.

@molpopgen
Copy link
Member

@bguo068 -- thanks for this. Would you mind editing the commit message to use conventional syntax? Something like:

fix: use c_char instead of i8 when handling C strings

This way changes will get into the correct part of the change log for the next release.

@bguo068
Copy link
Member Author

bguo068 commented Jan 6, 2026

Just did that. Thanks for sharing the link. It is a great reference.

@molpopgen
Copy link
Member

Just did that. Thanks for sharing the link. It is a great reference.

I wish I'd discovered conventional commits years ago! They are a bit limiting, but sometimes that can be a good thing. It is certainly nice to have your change log auto-generated.

@molpopgen molpopgen merged commit d96bfc9 into tskit-dev:main Jan 6, 2026
13 checks passed
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.

fail to compile on aarch64 linux

2 participants