Expose extra USART config options and fix word length bug #615
Workflow file for this run
This file contains hidden or 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: | |
| pull_request: | |
| merge_group: | |
| name: Continuous integration | |
| # Make sure CI fails on all warnings, including Clippy lints | |
| env: | |
| RUSTFLAGS: "-Dwarnings" | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: | |
| - stable | |
| device: | |
| - stm32g431 | |
| - stm32g441 | |
| - stm32g473 | |
| - stm32g474,hrtim | |
| - stm32g483 | |
| - stm32g484 | |
| - stm32g491 # Does not seem ready yet | |
| - stm32g4a1 # Does not seem ready yet | |
| features: | |
| - log-rtt,defmt | |
| # TODO: -log-rtt # log-rtt without defmt, more combos? | |
| - log-itm | |
| - log-semihost,can | |
| - cordic,usb,log-rtt,defmt | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: ${{ matrix.rust }} | |
| target: thumbv7em-none-eabihf | |
| override: true | |
| - name: Regular build | |
| run: cargo check --features ${{ matrix.device }} --features ${{ matrix.features }} | |
| - name: Build examples | |
| run: cargo check --examples --tests --features ${{ matrix.device }} --features ${{ matrix.features }} | |
| - name: Clippy | |
| run: cargo clippy --examples --tests --features ${{ matrix.device }} --features ${{ matrix.features }} |