6
6
paths-ignore :
7
7
- " **.md"
8
8
- " benches/**"
9
- - " distr_test/**"
10
9
pull_request :
11
10
branches : [ master, '0.[0-9]+' ]
12
11
paths-ignore :
13
12
- " **.md"
14
13
- " benches/**"
15
- - " distr_test/**"
16
14
17
15
permissions :
18
16
contents : read # to fetch code (actions/checkout)
47
45
run : cargo doc --all-features --no-deps
48
46
- name : rand_core
49
47
run : cargo doc --all-features --package rand_core --no-deps
50
- - name : rand_distr
51
- run : cargo doc --all-features --package rand_distr --no-deps
52
48
- name : rand_chacha
53
49
run : cargo doc --all-features --package rand_chacha --no-deps
54
50
- name : rand_pcg
@@ -122,11 +118,6 @@ jobs:
122
118
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml
123
119
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml --no-default-features
124
120
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml --no-default-features --features=os_rng
125
- - name : Test rand_distr
126
- run : |
127
- cargo test --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --features=serde
128
- cargo test --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --no-default-features
129
- cargo test --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --no-default-features --features=std,std_math
130
121
- name : Test rand_pcg
131
122
run : cargo test --target ${{ matrix.target }} --manifest-path rand_pcg/Cargo.toml --features=serde
132
123
- name : Test rand_chacha
@@ -162,7 +153,6 @@ jobs:
162
153
cross test --no-fail-fast --target ${{ matrix.target }} --features=serde,log,small_rng
163
154
cross test --no-fail-fast --target ${{ matrix.target }} --examples
164
155
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml
165
- cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --features=serde
166
156
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_pcg/Cargo.toml --features=serde
167
157
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_chacha/Cargo.toml
168
158
@@ -182,7 +172,6 @@ jobs:
182
172
cargo miri test --manifest-path rand_core/Cargo.toml
183
173
cargo miri test --manifest-path rand_core/Cargo.toml --features=serde
184
174
cargo miri test --manifest-path rand_core/Cargo.toml --no-default-features
185
- #cargo miri test --manifest-path rand_distr/Cargo.toml # no unsafe and lots of slow tests
186
175
cargo miri test --manifest-path rand_pcg/Cargo.toml --features=serde
187
176
cargo miri test --manifest-path rand_chacha/Cargo.toml --no-default-features
188
177
0 commit comments