Skip to content

Commit 5e07b35

Browse files
committed
Add MSRV CI job
As we use intra-doc-links now, which is newly added since 1.48.0 this is a good opportunity for the CI to build specifically for this version. This is our MSRV than. However this is only for documentation purposes and should be increased if newer features are used. This should not stop anyone from bumping the MSRV. This complies with https://github.com/rust-embedded/wg/blob/master/ops/msrv.md
1 parent 436aab2 commit 5e07b35

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
features: ["rt"]
3636
include:
3737
- mcu: stm32f303xc
38-
features: rt,stm32-usbd,can
38+
features: rt,stm32-usbd
3939
steps:
4040
- uses: actions/checkout@v2
4141
- uses: actions-rs/toolchain@v1
@@ -49,6 +49,25 @@ jobs:
4949
command: check
5050
args: --features=${{ matrix.mcu }},${{ matrix.features }} --lib --examples
5151

52+
# This is our MSRV. However this is only for documentation
53+
# purposes and should be increased if newer features are used.
54+
# This should not stop anyone from bumping the MSRV.
55+
check-msrv:
56+
name: Check MSRV
57+
runs-on: ubuntu-latest
58+
steps:
59+
- uses: actions/checkout@v2
60+
- uses: actions-rs/toolchain@v1
61+
with:
62+
toolchain: 1.48.0
63+
target: thumbv7em-none-eabihf
64+
override: true
65+
profile: minimal
66+
- uses: actions-rs/cargo@v1
67+
with:
68+
command: check
69+
args: --features=stm32f303xc,stm32-usbd,rt,can --lib --examples
70+
5271
clippy:
5372
name: Clippy
5473
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3131

3232
### Fixed
3333

34-
- Fixed [#151][] not being able to generate 72 MHz HCLK for stm32f303xc devices
34+
- Fixed [#151][] not being able to generate 72 MHz HCLK for stm32f303xc devices
3535
([#152](https://github.com/stm32-rs/stm32f3xx-hal/pull/152))
3636

3737
[#151]: https://github.com/stm32-rs/stm32f3xx-hal/issues/151
@@ -42,6 +42,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4242
`stm32f378` targets. ([#99](https://github.com/stm32-rs/stm32f3xx-hal/pull/99))
4343
- Removed SPI1 support for `stm32f302x6` and `stm32f302x8` sub-targets
4444
and `stm32f318` target. ([#99](https://github.com/stm32-rs/stm32f3xx-hal/pull/99))
45+
- This release requires 1.48, as intra-doc-links are now used internally.
46+
Until now, no MSRV was tracked. This has changed now. This however does
47+
not mean, that we guarantee any MSRV policy. It is rather for documentation
48+
purposes and if a new useful feature arises, we will increase the MSRV.
49+
([#170](https://github.com/stm32-rs/stm32f3xx-hal/pull/170))
4550

4651
## [v0.5.0] - 2020-07-21
4752

0 commit comments

Comments
 (0)