Skip to content

Use portable atomic, remove explicit/redundant feature declaration & move to edition 2021 #101

Use portable atomic, remove explicit/redundant feature declaration & move to edition 2021

Use portable atomic, remove explicit/redundant feature declaration & move to edition 2021 #101

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: Embedded Builds
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- features: ""
target: thumbv7em-none-eabihf
rust: stable
- feature: portable-atomic/critical-section
target: thumbv6m-none-eabi
rust: stable
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: rustup target add thumbv7em-none-eabihf thumbv6m-none-eabi
- uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path core/Cargo.toml --no-default-features --features=${{ matrix.feature }} --target=${{ matrix.target }}