Repository navigation
Test 32bit on CI - #1584
Test 32bit on CI#1584
Conversation
df25e05 to
86be1e1
Compare
|
@jeromekelleher Here's the CI for 32bit. |
|
Awesome! I worry that we're duplicating some stuff a bit pointlessly, though, and particularly whether CodeCov will code with having two uploads from the different runs? I think we can pull stuff out of the compile_and_test target though - I'll add some comments. |
|
I think we could probably pull out:
There's an argument for uploading the coverage stuff twice, since CodeCov is supposed to be able to handle it, and it'll give us visibility on testing in any #defs we need to do. I'm not sure I trust CodeCov though, tbh. I don't think there's any point in including the makefile or the example programs though. We'd probably end up having to put a bunch of pointless-looking casts in to them to compile cleanly on 32 bit (but maybe not?) |
|
For simplicity's sake I'd rather keep the jobs the same unless as you say we'd have to put in work to make the 32 version pass. The steps we could remove only take a few seconds. |
|
OK - maybe let's fix the casts in the failing compile so and see show Codecov copes with multiple uploads? |
e702305 to
df5d41c
Compare
|
The tests don't pass as root so I've had to make a custom docker image using the one we had before as base. It fails on an error that isn't immediately obvious to me now. |
|
Hmm, that's maybe something to do with IEEE maths not being fully present on i386. I'll try it out on my laptop and see if I get the same error. |
|
I've updated this @benjeffery with a few fixes. Turns out one of them was a real bug, so I guess 32 bit CI is showing some value straight away. Note I rebased and force pushed to bring in the size_t stuff, in case that was affecting things. |
|
Looks like we're nearly there, one more error in the Python tests at tests/test_stats.py:198. I'll take a look. |
Codecov Report
@@ Coverage Diff @@
## main #1584 +/- ##
=======================================
Coverage 93.60% 93.60%
=======================================
Files 27 27
Lines 23033 23036 +3
Branches 1079 1079
=======================================
+ Hits 21559 21562 +3
Misses 1440 1440
Partials 34 34
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
Hopefully this is ready to go now @benjeffery ... |
|
Looks like codecov is OK with this, so I say we merge. Thanks for sorting this out @benjeffery, it's a great bit of infrastructure. |
I've got one tweak to move from my personal dockerhub to the tskit one now I have access to it |
- Fix inexact floating point comparison on 32bit - Fix memory clearing size bug. - Skip failing test on 32 bit.
Adds a 32bit build and test to circle CI.