Skip to content

Commit e199fd2

Browse files
committed
Build doc in CI
1 parent c6b4406 commit e199fd2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,23 @@ jobs:
103103
command: fmt
104104
args: --all -- --check
105105

106+
rustdoc:
107+
name: Rust Doc
108+
runs-on: ubuntu-latest
109+
steps:
110+
- uses: actions/checkout@v2
111+
- uses: actions-rs/toolchain@v1
112+
with:
113+
toolchain: stable
114+
target: thumbv7em-none-eabihf
115+
override: true
116+
profile: minimal
117+
components: rustfmt
118+
- uses: actions-rs/cargo@v1
119+
with:
120+
command: doc
121+
args: --features=stm32f303xc,rt,stm32-usbd,can
122+
106123
codegen:
107124
name: Check Codegen
108125
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)