Skip to content

Commit

Permalink
Added no-std test without minimal_versions to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
smessmer committed Apr 13, 2024
1 parent 3cb2c6d commit b29b59d
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,31 @@ jobs:
with:
command: ${{ matrix.command }}
args: ${{ matrix.profile }} ${{ matrix.features }}
thumbv6m_no_std:
name: thumbv6m_no_std
no_std:
name: no_std
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command: [ "build" ]
profile: [ "", "--release" ]
features: [ "--no-default-features" ]
toolchain: [ "stable", "nightly", "1.59" ]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
# thumbv6m-none-eabi is a platform that doesn't have std support
target: thumbv6m-none-eabi
default: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: ${{ matrix.command }}
args: ${{ matrix.profile }} ${{ matrix.features }} --target thumbv6m-none-eabi
no_std_minimal_versions:
name: no_std_minimal_versions
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -120,6 +143,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
# thumbv6m-none-eabi is a platform that doesn't have std support
target: thumbv6m-none-eabi
default: true
- uses: actions-rs/cargo@v1
Expand Down

0 comments on commit b29b59d

Please sign in to comment.