Skip to content

Py32f040

Py32f040 #10

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
merge_group:
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
crate:
- py32f0
env:
CRATES: ${{ matrix.crate }}
CARGO_INCREMENTAL: 0
SVDTOOLS: svdtools
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Install xmllint
run: |
sudo apt-get update
sudo apt-get install libxml2-utils
- name: Create working crate
run: make crates
- name: Install tools
run: |
./scripts/tool_install.sh svdtools
./scripts/tool_install.sh svd2rust
- name: Patch SVDs
run: make -j2 patch
- name: Check SVDs
run: make lint
- name: Build PACs
run: make -j2 svd2rust
- name: Check PACs
run: make -j2 check