From f9a4e7ff0d3a87e5a7156b31605c4d26e1c23b4e Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 19 Feb 2023 09:08:56 -0800 Subject: [PATCH] Also build linkme-impl in test mode in CI --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7b4e51..a2fe20b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,15 +45,15 @@ jobs: with: toolchain: ${{matrix.rust}} - run: cargo check --manifest-path tests/crate/Cargo.toml - - run: cargo test + - run: cargo test -p linkme -p linkme-impl # windows-gnu: https://github.com/dtolnay/linkme/issues/25 continue-on-error: ${{matrix.rust == 'nightly-x86_64-pc-windows-gnu'}} - - run: cargo test --features used_linker + - run: cargo test -p linkme -p linkme-impl --features used_linker if: startsWith(matrix.rust, 'nightly') continue-on-error: ${{matrix.rust == 'nightly-x86_64-pc-windows-gnu'}} - - run: cargo test --release + - run: cargo test -p linkme -p linkme-impl --release continue-on-error: ${{matrix.rust == 'nightly-x86_64-pc-windows-gnu'}} - - run: cargo test --release --features used_linker + - run: cargo test -p linkme -p linkme-impl --release --features used_linker if: startsWith(matrix.rust, 'nightly') continue-on-error: ${{matrix.rust == 'nightly-x86_64-pc-windows-gnu'}}