sparsemat / sprs

sparse linear algebra library for rust
Apache License 2.0
386 stars 45 forks source link

Add github actions #198

Closed mulimoen closed 4 years ago

mulimoen commented 4 years ago

This adds github actions, which are run on every PR and push to master/main, and every month.

The time it takes for CI is reduced significantly, a rustfmt seems to take less than 30 seconds, with the full suite taking about 5 minutes. The crates are now tested on ubuntu, mac, and windows, but the suitesparse_bindings are only built on ubuntu.

Some differences between travis and github actions (these can be added if wanted):

If this PR is merged, the actions will automatically be run, without any futher setup.

The workflow is inspired mostly by the implementation in ripgrep (license: unlicense)

vbarrielle commented 4 years ago

That's nice, thanks!