|
68 | 68 | - uses: LoliGothick/clippy-check@master |
69 | 69 | with: |
70 | 70 | token: ${{ secrets.GITHUB_TOKEN }} |
71 | | - options: --features=serde,rkyv_08,test_utils --no-deps |
| 71 | + options: --features=serde,rkyv,rkyv_08,test_utils --no-deps |
72 | 72 | name: Clippy (stable) |
73 | 73 |
|
74 | 74 | - name: Check Rustdoc Links |
@@ -105,14 +105,8 @@ jobs: |
105 | 105 | - uses: LoliGothick/clippy-check@master |
106 | 106 | with: |
107 | 107 | token: ${{ secrets.GITHUB_TOKEN }} |
108 | | - options: --features tracing,fixed,f16,rkyv,serde --no-deps |
109 | | - name: Clippy (nightly, rkyv 0.7) |
110 | | - |
111 | | - - uses: LoliGothick/clippy-check@master |
112 | | - with: |
113 | | - token: ${{ secrets.GITHUB_TOKEN }} |
114 | | - options: --features tracing,fixed,f16_rkyv_08,serde --no-deps |
115 | | - name: Clippy (nightly, rkyv 0.8) |
| 108 | + options: --features tracing,fixed,rkyv,rkyv_08,serde --no-deps |
| 109 | + name: Clippy nightly |
116 | 110 |
|
117 | 111 | - name: Check Rustdoc Links |
118 | 112 | run: RUSTDOCFLAGS="--deny broken_intra_doc_links" cargo doc --verbose --workspace --no-deps --document-private-items |
@@ -148,11 +142,8 @@ jobs: |
148 | 142 | crate: cargo-hack |
149 | 143 | version: "^0.6" |
150 | 144 |
|
151 | | - - name: Cargo check all targets and features (rkyv 0.7) |
152 | | - run: cargo hack check --workspace --each-feature --all-targets --exclude-features global_allocate,simd,rkyv_08,f16_rkyv_08 |
153 | | - |
154 | | - - name: Cargo check all targets and features (rkyv 0.8) |
155 | | - run: cargo hack check --workspace --each-feature --all-targets --exclude-features global_allocate,simd,rkyv,f16 |
| 145 | + - name: Cargo check all targets and features |
| 146 | + run: cargo hack check --workspace --each-feature --all-targets --exclude-features global_allocate,simd |
156 | 147 |
|
157 | 148 | check-unstable: |
158 | 149 | name: Cargo Check (Nightly) |
@@ -186,14 +177,12 @@ jobs: |
186 | 177 | crate: cargo-hack |
187 | 178 | version: "^0.6" |
188 | 179 |
|
189 | | - - name: Cargo check all targets and features (rkyv 0.7) |
190 | | - run: cargo hack check --workspace --each-feature --all-targets --exclude-features rkyv_08,f16_rkyv_08 |
| 180 | + - name: Cargo check all targets and features |
| 181 | + run: cargo hack check --workspace --each-feature --all-targets |
191 | 182 |
|
192 | | - - name: Cargo check all targets and features (rkyv 0.8) |
193 | | - run: cargo hack check --workspace --each-feature --all-targets --exclude-features rkyv,f16 |
194 | 183 |
|
195 | 184 | test-basic: |
196 | | - name: Run Tests (Stable, no crate features enabled that require unstable Rust, Rkyv 0.7) |
| 185 | + name: Run Tests (Stable, no crate features enabled that require unstable Rust) |
197 | 186 | runs-on: ubuntu-latest |
198 | 187 | steps: |
199 | 188 | - uses: actions/checkout@v4 |
@@ -221,41 +210,12 @@ jobs: |
221 | 210 | run: | |
222 | 211 | cargo run --example build-float-doctest-tree --features="rkyv" |
223 | 212 | cargo run --example build-immutable-doctest-tree --features="rkyv" |
224 | | - cargo test --workspace --features=serde,rkyv,test_utils |
| 213 | + cargo run --example build-float-doctest-tree-rkyv_08 --features="rkyv_08" |
| 214 | + cargo run --example build-immutable-doctest-tree-rkyv_08 --features="rkyv_08" |
| 215 | + cargo test --workspace --features=serde,rkyv,rkyv_08,test_utils |
225 | 216 |
|
226 | | - test-basic-rkyv-08: |
227 | | - name: Run Tests (Stable, no crate features enabled that require unstable Rust, Rkyv 0.8) |
228 | | - runs-on: ubuntu-latest |
229 | | - steps: |
230 | | - - uses: actions/checkout@v4 |
231 | | - with: |
232 | | - show-progress: false |
233 | | - |
234 | | - - name: Get latest stable Rust version |
235 | | - run: | |
236 | | - echo "LATEST_STABLE_RUST_VERSION=$(gh api /repos/rust-lang/rust/releases --jq ".[0].tag_name")" >> "$GITHUB_ENV" |
237 | | - env: |
238 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
239 | | - |
240 | | - - name: Cache Toolchain |
241 | | - uses: actions/cache@v4 |
242 | | - with: |
243 | | - path: ~/.rustup |
244 | | - key: toolchain-x86-64-${{ env.LATEST_STABLE_RUST_VERSION }} |
245 | | - |
246 | | - - name: Install `stable` Toolchain |
247 | | - uses: actions-rust-lang/setup-rust-toolchain@v1 |
248 | | - with: |
249 | | - components: rustfmt,clippy |
250 | | - |
251 | | - - name: Cargo test |
252 | | - run: | |
253 | | - cargo run --example build-float-doctest-tree-rkyv_08 --features="rkyv_08" |
254 | | - cargo run --example build-immutable-doctest-tree-rkyv_08 --features="rkyv_08" |
255 | | - cargo test --workspace --features=serde,rkyv_08,test_utils |
256 | | -
|
257 | | - test-all-features-rkyv-07: |
258 | | - name: Run Tests (Nightly, all features enabled except `rkyv_08`) |
| 217 | + test-all-features: |
| 218 | + name: Run Tests (Nightly, all features enabled) |
259 | 219 | runs-on: ubuntu-latest |
260 | 220 | steps: |
261 | 221 | - uses: actions/checkout@v4 |
@@ -284,52 +244,16 @@ jobs: |
284 | 244 | run: | |
285 | 245 | cargo run --example build-float-doctest-tree --features="rkyv" |
286 | 246 | cargo run --example build-immutable-doctest-tree --features="rkyv" |
287 | | - cargo test --workspace --features "csv,f16,las,serde,simd,rkyv,test_utils,tracing" |
288 | | -
|
289 | | - - name: Cargo test (release build) |
290 | | - env: |
291 | | - RUSTFLAGS: '-C target-cpu=native' |
292 | | - run: | |
293 | | - cargo run --example build-float-doctest-tree --features="rkyv" |
294 | | - cargo run --example build-immutable-doctest-tree --features="rkyv" |
295 | | - cargo test --workspace --features "csv,f16,las,serde,simd,rkyv,test_utils,tracing" --release |
296 | | -
|
297 | | - test-all-features-rkyv-08: |
298 | | - name: Run Tests (Nightly, all features enabled except `rkyv` to allow rkyv 0.8 support) |
299 | | - runs-on: ubuntu-latest |
300 | | - steps: |
301 | | - - uses: actions/checkout@v4 |
302 | | - with: |
303 | | - show-progress: false |
304 | | - |
305 | | - - name: Get date |
306 | | - run: | |
307 | | - echo "TODAY_DATE=$(date -Idate)" >> "$GITHUB_ENV" |
308 | | - env: |
309 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
310 | | - |
311 | | - - name: Cache Toolchain |
312 | | - uses: actions/cache@v4 |
313 | | - with: |
314 | | - path: ~/.rustup |
315 | | - key: toolchain-x86-64-nightly-${{ env.TODAY_DATE }} |
316 | | - |
317 | | - - name: Install `nightly` Toolchain |
318 | | - uses: actions-rust-lang/setup-rust-toolchain@v1 |
319 | | - with: |
320 | | - toolchain: nightly |
321 | | - components: rustfmt,clippy |
322 | | - |
323 | | - - name: Cargo test (dev build) |
324 | | - run: | |
325 | 247 | cargo run --example build-float-doctest-tree-rkyv_08 --features="rkyv_08" |
326 | 248 | cargo run --example build-immutable-doctest-tree-rkyv_08 --features="rkyv_08" |
327 | | - cargo test --workspace --features "csv,f16_rkyv_08,las,serde,simd,rkyv_08,test_utils,tracing" |
| 249 | + cargo test --workspace --features "csv,f16,las,serde,simd,rkyv,rkyv_08,test_utils,tracing" |
328 | 250 |
|
329 | 251 | - name: Cargo test (release build) |
330 | 252 | env: |
331 | 253 | RUSTFLAGS: '-C target-cpu=native' |
332 | 254 | run: | |
| 255 | + cargo run --example build-float-doctest-tree --features="rkyv" |
| 256 | + cargo run --example build-immutable-doctest-tree --features="rkyv" |
333 | 257 | cargo run --example build-float-doctest-tree-rkyv_08 --features="rkyv_08" |
334 | 258 | cargo run --example build-immutable-doctest-tree-rkyv_08 --features="rkyv_08" |
335 | | - cargo test --workspace --features "csv,f16_rkyv_08,las,serde,simd,rkyv_08,test_utils,tracing" --release |
| 259 | + cargo test --workspace --features "csv,f16,las,serde,simd,rkyv,rkyv_08,test_utils,tracing" --release |
0 commit comments