Skip to content

Commit

Permalink
Add toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
AldaronLau committed Oct 25, 2024
1 parent 53b65d2 commit 535aa4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,cargo-minimal-versions
- run: rustup toolchain add ${{ matrix.tc }}
- run: cargo +${{ matrix.tc }} minimal-versions test --all --all-features
cross-compile:
runs-on: ${{ matrix.os }}
Expand All @@ -34,6 +35,7 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,cargo-minimal-versions
- run: rustup toolchain add ${{ matrix.tc }}
- run: cargo +${{ matrix.tc }} minimal-versions build --all --all-features --target=${{ matrix.cc }}
cross-compile-ios:
runs-on: ${{ matrix.os }}
Expand All @@ -47,4 +49,5 @@ jobs:
- uses: taiki-e/install-action@v2
with:
tool: cargo-hack,cargo-minimal-versions
- run: rustup toolchain add ${{ matrix.tc }}
- run: cargo +${{ matrix.tc }} minimal-versions build --all --all-features --target=${{ matrix.cc }}

0 comments on commit 535aa4b

Please sign in to comment.