From fb6339786bd63cd4e6151225720e0b21125440d0 Mon Sep 17 00:00:00 2001 From: Wang Fenjin Date: Tue, 23 May 2023 07:19:00 +0800 Subject: [PATCH] reduce ci time (#164) --- .github/workflows/rust.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 6182f3e6..6268d4b2 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -121,9 +121,11 @@ jobs: with: rust-version: stable targets: x86_64-pc-windows-msvc - - run: cargo test --features "modern-full extensions-full" - - name: Build loadable extension - run: cargo build --example hello-ext --features="vtab-loadable bundled" + - run: cargo install cargo-examples + # make the feature set the same so build faster + - run: cargo test --features "modern-full extensions-full vtab-loadable" + - run: cargo examples --skip hello-ext --features "modern-full extensions-full vtab-loadable" + - run: cargo build --example hello-ext --features "modern-full extensions-full vtab-loadable" Sanitizer: name: Address Sanitizer @@ -147,8 +149,6 @@ jobs: # as the other tests have them. RUST_BACKTRACE: "0" run: cargo -Z build-std test --features "modern-full extensions-full" --target x86_64-unknown-linux-gnu - - run: cargo install cargo-examples - - run: cargo examples --skip hello-ext --features=bundled - uses: wangfenjin/publish-crates@main name: cargo publish --dry-run with: