ruby-numo / numo-narray

Ruby/Numo::NArray - New NArray class library
http://ruby-numo.github.io/narray/
BSD 3-Clause "New" or "Revised" License
413 stars 41 forks source link

Add Windows & macOS to CI, fix Ruby master issue #206

Closed MSP-Greg closed 2 years ago

MSP-Greg commented 2 years ago

Adds Windows and macOS CI jobs. Ruby master/head testing is much better than in the past, as all the Ruby builds are fully tested on GitHub Actions. With other CI systems, that was not the case. Many repos are testing against the builds without 'allow-failure' setups.

Small update to array.c, same as #201 (gave co-author credit)

Closes #200 Closes #201

Passing CI - see https://github.com/MSP-Greg/numo-narray/actions/runs/2673530157

MSP-Greg commented 2 years ago

Not sure if there's interest in additional CI. I left the workflow mostly intact.

One thing about gem install is that there is no logging of compiler warnings. For instance, Ubuntu is using gcc 9 (ubuntu 22.04 uses gcc 11), all windows builds (except mswin) are using gcc 12, etc. One can add the -V flag, but it logs a bit more than rake compile.

Anyway, if you want to split jobs between gem install and rake compile, be happy to change.