-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.build.yml
82 lines (82 loc) · 2.26 KB
/
.build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
image: archlinux
packages:
- rustup
- cargo-audit
- cargo-deny
- cargo-msrv
- cargo-nextest
- cargo-outdated
- cargo-tarpaulin
- cargo-udeps
secrets:
- 88cce185-d2ec-4573-9546-e33f36f79bbf
sources:
- https://git.sr.ht/~swaits/vivaldi-nc
artifacts:
- vivaldi-nc/tarpaulin-report.html
tasks:
- setup: |
rustup toolchain install nightly stable
cd vivaldi-nc/
rustup run stable cargo fetch
- format: |
rustup default stable
cd vivaldi-nc/
cargo fmt --verbose --check --all
- lint: |
rustup default stable
cd vivaldi-nc/
cargo clippy --verbose --all-targets --all-features
- outdated: |
rustup default stable
cd vivaldi-nc/
cargo outdated
- deny: |
rustup default stable
cd vivaldi-nc/
cargo deny check
- udeps: |
rustup default nightly
cd vivaldi-nc/
cargo +nightly udeps --all-features
- audit: |
rustup default stable
cd vivaldi-nc/
cargo audit -d /tmp/advisory-db
- msrv: |
rustup default stable
cd vivaldi-nc/
cargo msrv verify
- coverage: |
rustup default stable
cd vivaldi-nc/
cargo tarpaulin --verbose --all-features --out html
- stable: |
rustup default stable
cd vivaldi-nc/
cargo build --verbose --all-targets --all-features
cargo nextest run --verbose --all-targets --all-features
- nightly: |
rustup default nightly
cd vivaldi-nc/
cargo clippy --verbose --all-targets --all-features ||:
cargo build --verbose --all-targets --all-features ||:
cargo nextest --verbose --all-targets --all-features ||:
- bench: |
rustup default stable
cd vivaldi-nc/
cargo bench --verbose --all-targets --all-features
- examples: |
rustup default stable
cd vivaldi-nc/
cargo run --verbose --all-features --example planetlab
cargo run --verbose --all-features --example planetlab --release
- docs: |
cd vivaldi-nc/
rustup run stable cargo doc --no-deps
rustup run nightly cargo doc --no-deps ||:
- mirror-to-github: |
cd ~/vivaldi-nc
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
git remote add github [email protected]:swaits/vivaldi-nc.git
git push --mirror github