ci.yml 784 B

12345678910111213141516171819202122232425262728293031323334353637
  1. on:
  2. push:
  3. branches: [ staging, trying, master ]
  4. pull_request:
  5. name: Continuous integration
  6. jobs:
  7. ci:
  8. runs-on: ubuntu-latest
  9. strategy:
  10. matrix:
  11. mcu:
  12. - stm32f100
  13. - stm32f101
  14. - stm32f103
  15. - stm32f105
  16. - stm32f107
  17. rust:
  18. - stable
  19. include:
  20. - rust: nightly
  21. mcu: stm32f103
  22. experimental: true
  23. steps:
  24. - uses: actions/checkout@v2
  25. - uses: actions-rs/toolchain@v1
  26. with:
  27. profile: minimal
  28. toolchain: ${{ matrix.rust }}
  29. target: thumbv7m-none-eabi
  30. override: true
  31. - uses: actions-rs/cargo@v1
  32. with:
  33. command: check
  34. args: --features=${{ matrix.mcu }},rt --examples