From e824b3b54596063f6516c1151b1de63c89c5d4c8 Mon Sep 17 00:00:00 2001 From: Parker Timmerman Date: Sun, 10 Dec 2023 17:07:25 -0500 Subject: [PATCH] exclude sqlx features from cross based CI --- .github/workflows/cross_platform.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cross_platform.yml b/.github/workflows/cross_platform.yml index a1ae664b..ee9c0386 100644 --- a/.github/workflows/cross_platform.yml +++ b/.github/workflows/cross_platform.yml @@ -82,6 +82,14 @@ jobs: run: cargo test --release --all-features --manifest-path=compact_str/Cargo.toml --target ${{ matrix.target }} -- --include-ignored - name: cargo test if: "matrix.cross" - run: cross test --release --all-features --manifest-path=compact_str/Cargo.toml --target ${{ matrix.target }} + run: cross test --release \ + # Note: we exclude sqlx from here because it can require building system dependencies, e.g. libsqlite3-sys. + --features="arbitrary, bytes, diesel, markup, proptest, quickcheck, rkyv, serde, smallvec" \ + --manifest-path=compact_str/Cargo.toml \ + --target ${{ matrix.target }} - name: cargo test miri - run: cargo miri test --all-features --manifest-path=compact_str/Cargo.toml --target ${{ matrix.target }} + run: cargo miri test \ + # Note: we exclude sqlx from here because it can require building system dependencies, e.g. libsqlite3-sys. + --features="arbitrary, bytes, diesel, markup, proptest, quickcheck, rkyv, serde, smallvec" \ + --manifest-path=compact_str/Cargo.toml \ + --target ${{ matrix.target }}