File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 58
58
command : test
59
59
args : --no-default-features
60
60
61
+ - name : Test libmimalloc-sys crate bindings.
62
+ uses : actions-rs/cargo@v1
63
+ with :
64
+ command : run
65
+ args : -p libmimalloc-sys-test
66
+
61
67
lint :
62
68
name : Rustfmt / Clippy
63
69
runs-on : ubuntu-latest
84
90
with :
85
91
command : clippy
86
92
args : --workspace -- -D warnings
93
+
94
+ # Detect cases where documentation links would be dead
95
+ doc :
96
+ name : Check documentation
97
+ runs-on : ubuntu-latest
98
+ steps :
99
+
100
+ - uses : actions/checkout@v2
101
+ with :
102
+ submodules : recursive
103
+
104
+ - uses : actions-rs/toolchain@v1
105
+ with :
106
+ profile : minimal
107
+ toolchain : nightly
108
+ override : true
109
+
110
+ # Note: We need to use nightly rust, and `cargo rustdoc` (yes, not `cargo
111
+ # doc`) to actually get it to respect -D warnings... Using nightly also
112
+ # gets us the nicer syntax for linking to functions, and is in-line with
113
+ # what docs.rs uses.
114
+
115
+ - name : ' Check documentation links in `mimalloc`'
116
+ uses : actions-rs/cargo@v1
117
+ with :
118
+ command : rustdoc
119
+ args : -- -D warnings
120
+
121
+ - name : ' Check documentation links in `libmimalloc-sys`'
122
+ uses : actions-rs/cargo@v1
123
+ with :
124
+ command : rustdoc
125
+ args : -p libmimalloc-sys -- -D warnings
You can’t perform that action at this time.
0 commit comments