Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
LaoLittle authored and Xudong-Huang committed Oct 3, 2023
1 parent 0cf7f5f commit 7d2b5f1
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
run: cross test --target ${{ matrix.target.tool }} --release

0 comments on commit 7d2b5f1

Please sign in to comment.