Remap, Rmp, RFrom #760
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: master | |
pull_request: | |
merge_group: | |
name: Continuous integration | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
needs: [check] | |
if: always() | |
steps: | |
- name: Done | |
run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}' | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
mcu: | |
- stm32f100 | |
- stm32f101 | |
- stm32f103 | |
- stm32f105 | |
- stm32f107 | |
rust: | |
- stable | |
include: | |
- rust: nightly | |
mcu: stm32f103 | |
experimental: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use the latest ${{ matrix.rust }} rustc | |
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} | |
- name: Add Cortex-M3 target | |
run: rustup target add thumbv7m-none-eabi | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: --features=${{ matrix.mcu }},rtic,high --examples | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --features=${{ matrix.mcu }} --target x86_64-unknown-linux-gnu --lib |