From 7d2b5f1e547eb8d82641c7a8fac787ad6de6c73e Mon Sep 17 00:00:00 2001 From: LaoLittle Date: Tue, 3 Oct 2023 16:12:24 +0800 Subject: [PATCH] update ci --- .github/workflows/test.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93e05e1..943501c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,20 +54,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup rust toolchain + - name: Setup rust cross-platform toolchain run: | rustup default nightly rustup target add ${{ matrix.target.tool }} + cargo install cross - name: Test - uses: actions-rs/cargo@v1 - with: - command: test - args: --target ${{ matrix.target.tool }} - use-cross: true + run: cross test --target ${{ matrix.target.tool }} + - name: Test Release - uses: actions-rs/cargo@v1 - with: - command: test - args: --target ${{ matrix.target.tool }} --release - use-cross: true \ No newline at end of file + run: cross test --target ${{ matrix.target.tool }} --release \ No newline at end of file