nim-lang / bigints

BigInts for Nim
MIT License
124 stars 32 forks source link

Test on i386 #141

Open konsumlamm opened 11 months ago

konsumlamm commented 11 months ago

Test on i386 (a 32 bit arch) in the CI and update the versions tested.

Closes #48.

The CI job uses the prebuilt binaries from https://nim-lang.org/install.html (since most actions aren't available in a container). This means we can finally confirm that the library works on 32 bit architectures. I had to fix an example and the rand code (to work around https://github.com/nim-lang/Nim/issues/16360). I also added a test for r.rand(x..x).