From 4be0240a833587e0b95ab34e21440aee4da814f4 Mon Sep 17 00:00:00 2001 From: DumpTime <85953385+DumpTime@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:26:45 +0800 Subject: [PATCH] ci: add --all param --- .github/workflows/build.yml | 4 ++-- .github/workflows/ci.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2f86c7..5a911b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Build - run: cargo build -vr --all-features + run: cargo build -vr --all-features --all - name: List target run: ls -l target/release @@ -69,7 +69,7 @@ jobs: shared-key: ${{ matrix.target }} - name: Build - run: cargo build -r --target ${{ matrix.target }} --all-features + run: cargo build -r --target ${{ matrix.target }} --all-features --all - name: Upload build artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8eece44..0ad087f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: run: cargo test -v --all-features - name: Build - run: cargo build -v + run: cargo build -v --all - name: List target run: ls -l target/debug