fix monotonics #2611
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: | |
- stm32f401 | |
- stm32f405 | |
- stm32f407 | |
- stm32f410 | |
- stm32f411 | |
- stm32f412 | |
- stm32f413 | |
- stm32f415 | |
- stm32f417 | |
- stm32f423 | |
- stm32f427 | |
- stm32f429 | |
- stm32f437 | |
- stm32f439 | |
- stm32f446 | |
- stm32f469 | |
- stm32f479 | |
rust: | |
- stable | |
features: | |
- usb_fs,sdio-host,can,i2s,fsmc_lcd,rtic1,stm32-fmc | |
include: | |
- rust: nightly | |
mcu: stm32f479 | |
experimental: true | |
features: usb_fs,sdio-host,can,i2s,fsmc_lcd,rtic2,rtic-tim3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use the latest ${{ matrix.rust }} rustc | |
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }} | |
- name: Add Cortex-M4F target | |
run: rustup target add thumbv7em-none-eabihf | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v2 | |
with: | |
key: v0.22.0-${{ matrix.mcu }} | |
- run: cargo check --features=${{ matrix.mcu }},${{ matrix.features }} --examples |