From 53ae0adf5c1be6abe043b3fd306ba9b0acf9f516 Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Thu, 4 Apr 2024 07:33:59 +0200 Subject: [PATCH 1/2] CI: Skip oldtime, rkyv and wasmbind in `cargo hack check` --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 079aa3c39e..99e10b03d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,7 +80,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - run: | cargo hack check --feature-powerset --optional-deps arbitrary,serde \ - --skip __internal_bench,iana-time-zone,pure-rust-locales,libc,winapi,rkyv-16,rkyv-64,rkyv-validation \ + --skip __internal_bench,iana-time-zone,pure-rust-locales,libc,oldtime,winapi,rkyv-16,rkyv-64,rkyv-validation,wasmbind \ --all-targets # run using `bash` on all platforms for consistent # line-continuation marks From 226ddc2358e293a7875218395d6f3f6517137efe Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Thu, 4 Apr 2024 07:52:01 +0200 Subject: [PATCH 2/2] CI: Treat some features as mutually exclusive in `cargo hack check` --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 99e10b03d6..d866cbf7e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,7 +80,8 @@ jobs: - uses: Swatinem/rust-cache@v2 - run: | cargo hack check --feature-powerset --optional-deps arbitrary,serde \ - --skip __internal_bench,iana-time-zone,pure-rust-locales,libc,oldtime,winapi,rkyv-16,rkyv-64,rkyv-validation,wasmbind \ + --skip __internal_bench,iana-time-zone,oldtime,pure-rust-locales,libc,winapi,rkyv-validation,wasmbind \ + --mutually-exclusive-features arbitrary,rkyv,rkyv-16,rkyv-32,rkyv-64,serde \ --all-targets # run using `bash` on all platforms for consistent # line-continuation marks