Skip to content

Commit f523116

Browse files
committed
add test
1 parent 203f1c0 commit f523116

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,24 @@ jobs:
9191
OPTIONS: ${{ matrix.options }}
9292
TRAVIS_OS_NAME: ${{ matrix.TRAVIS_OS_NAME }}
9393
run: bash ci/script.sh
94+
ci-serde:
95+
runs-on: ubuntu-latest
96+
steps:
97+
- uses: actions/checkout@v2
98+
- uses: actions-rs/toolchain@v1
99+
with:
100+
profile: minimal
101+
toolchain: stable
102+
override: true
103+
components: rustfmt
104+
- name: Install svdtools
105+
uses: actions-rs/install@v0.1
106+
with:
107+
crate: svdtools
108+
version: 0.2.0
109+
use-tool-cache: true
110+
- name: Run CI script
111+
- run: |
112+
wget https://stm32-rs.github.io/stm32-rs/stm32f411.svd.patched
113+
svdtools convert --input-format xml stm32f411.svd.patched stm32f411.yaml
114+
cargo run --release -- -i stm32f411.yaml

0 commit comments

Comments
 (0)