Closed uncomputable closed 1 year ago
We need to introduce lockfiles to this repo and add a few lines from https://github.com/rust-bitcoin/rust-bitcoin/blob/master/contrib/test.sh.
I will redo this in nix, possibly using code from https://github.com/apoelstra/local-nix-ci.
This is the second part to #148 where we copy the CI infrastructure from rust-bitcoin.
We use a script at contrib/test.sh to run all our checks. The Github yml files simply set up a machine and run the script with certain arguments. This means that there is one job for each architecture + rust version.
Having a bash script should make it easier to run CI locally.
I enabled rustdoc tests because they were already part of the script. It was easy to fix the existing errors and this additional check shouldn't slow us down.