ci.yml 682 B

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