Skip to content

Commit

Permalink
Migrate CI to rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
vks committed Mar 22, 2024
1 parent 70fd2bf commit 2a8cb8c
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ jobs:
toolchain: nightly
variant: minimal_versions
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
target: ${{ matrix.target }}
targets: ${{ matrix.target }}
toolchain: ${{ matrix.toolchain }}
override: true
- name: Install dependencies (if necessary)
run: ${{ matrix.deps }}
- name: Minimal versions (if necessary)
Expand All @@ -57,17 +55,13 @@ jobs:
cargo test --target ${{ matrix.target }} --features=std,serde1,rayon
test-no-std:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: nightly
target: thumbv6m-none-eabi
override: true
targets: thumbv6m-none-eabi
toolchain: nightly
- name: Build top-level only
run: |
cargo build --target=thumbv6m-none-eabi --no-default-features
Expand Down

0 comments on commit 2a8cb8c

Please sign in to comment.