@@ -125,20 +125,24 @@ jobs:
125
125
126
126
# build for WebGPU
127
127
cargo clippy --target ${{ matrix.target }} -p wgpu --tests --features glsl,spirv
128
+ cargo doc --target ${{ matrix.target }} -p wgpu --no-deps --features glsl,spirv
128
129
129
130
# build for WebGL
130
131
cargo clippy --target ${{ matrix.target }} -p wgpu --tests --features webgl,glsl,spirv
132
+ cargo doc --target ${{ matrix.target }} -p wgpu --no-deps --features webgl,glsl,spirv
131
133
132
- # build docs
133
- cargo doc --target ${{ matrix.target }} -p wgpu --no-deps --features glsl,spirv
134
+ # all features
135
+ cargo clippy --target ${{ matrix.target }} -p wgpu-hal --tests --all-features
136
+ cargo clippy --target ${{ matrix.target }} -p wgpu --tests --all-features
137
+ cargo doc --target ${{ matrix.target }} -p wgpu --no-deps --all-features
134
138
135
139
- name : check em
136
140
if : matrix.kind == 'em'
137
141
shell : bash
138
142
run : |
139
143
set -e
140
144
141
- # build for Emscripten/WebGL
145
+ # build for Emscripten
142
146
cargo clippy --target ${{ matrix.target }} -p wgpu -p wgpu-hal --no-default-features
143
147
144
148
# build cube example
@@ -147,6 +151,10 @@ jobs:
147
151
# build raw-gles example
148
152
cargo clippy --target ${{ matrix.target }} --example raw-gles
149
153
154
+ # all features
155
+ cargo clippy --target ${{ matrix.target }} -p wgpu-hal --all-features
156
+ cargo clippy --target ${{ matrix.target }} -p wgpu --all-features
157
+
150
158
- name : check native
151
159
if : matrix.kind == 'native'
152
160
shell : bash
@@ -159,8 +167,9 @@ jobs:
159
167
# Check with all features.
160
168
# (But watch out for backend-selection features in wgpu-core; some of
161
169
# those only build on the right platforms.)
162
- cargo clippy --target ${{ matrix.target }} -p wgpu -p wgpu-info -p player --tests --all-features
170
+ cargo clippy --target ${{ matrix.target }} -p wgpu-hal --tests --all-features
163
171
cargo clippy --target ${{ matrix.target }} -p wgpu-core --tests --all-features
172
+ cargo clippy --target ${{ matrix.target }} -p wgpu -p wgpu-info -p player --tests --all-features
164
173
165
174
# build docs
166
175
# (Watch out for backend-selection features in wgpu-core; some of
0 commit comments