diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..1032204 --- /dev/null +++ b/.build.yml @@ -0,0 +1,24 @@ +image: archlinux +packages: + - rustup +sources: + - https://git.sr.ht/~swaits/vivaldi-nc +tasks: + - setup: | + rustup toolchain install nightly stable + cd vivaldi-nc/ + rustup run stable cargo fetch + - stable: | + rustup default stable + cd vivaldi-nc/ + cargo build --verbose + cargo test --verbose + - nightly: | + rustup default nightly + cd vivaldi-nc/ + cargo build --verbose ||: + cargo test --verbose ||: + - docs: | + cd vivaldi-nc/ + rustup run stable cargo doc --no-deps + rustup run nightly cargo doc --no-deps ||: