chore: Add build script for git.sr.htSigned-off-by: Stephen Waits <steve@waits.net>

This commit is contained in:
swaits committed 2023-02-02 21:48:35 -07:00
1 parent f29deb5335
commit 280f50e9f7
1 file changed
+24
+24
View File
@@ -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 ||: