Add CI based on trust#44
Conversation
f400ca6 to
09d60a5
Compare
|
Wow, it actually seems to work. Systems tested:
Big-endian:
Nightly (documentation, benchmarks,
I have commented out the documentation uploading part (not sure where it goes...). We had only one endianness problem. |
dhardy
left a comment
There was a problem hiding this comment.
Ok, I guess this is okay for now.
I think the doc-build is for automatic upload to GH-pages, but we're not using that at the moment anyway.
| env: | ||
| global: | ||
| # TODO Update this to match the name of your project. | ||
| - CRATE_NAME=trust |
There was a problem hiding this comment.
I think this should be rand? Actually it's probably only for upload and could be removed.
| - cargo test --all --features nightly | ||
| - cargo test --all --benches | ||
| - cargo build --all --no-default-features | ||
| - cargo doc --no-deps --features nightly |
There was a problem hiding this comment.
I guess we can do without the doc build. It would be nice to have the benchmark test (build test) because I've accidentally broken those a couple of times, but that can only be built on nightly. If you're not sure how just leave a comment somewhere.
There was a problem hiding this comment.
Yes, I have broken benches the too...
In CI/script.sh I have the tests:
cross build --target $TARGET
cross build --all --no-default-features --target $TARGET --release
cross test --all --target $TARGET
And for nightly only:
cross doc --no-deps --features nightly
cross test --all --features nightly --target $TARGET
cross test --all --benches --target $TARGET
So we shouldn't be missing something big.
|
Updated |
I have just followed the instructions from
trust, but know nothing about CI. Let's see what happens.