Skip to content

Commit

Permalink
exclude sqlx features from cross based CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkMyCar committed Dec 10, 2023
1 parent 92c3860 commit e824b3b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/cross_platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit e824b3b

Please sign in to comment.