DMA & SYSCFG #30
Workflow file for this run
This file contains hidden or 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
name: metapac build | |
on: | |
pull_request: | |
branches: ["main"] | |
paths-ignore: | |
- '*.md' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use nightly Rust | |
run: | | |
rustup default nightly | |
rustup target add thumbv6m-none-eabi | |
- name: Build | |
run: | | |
./d gen | |
- name: Test | |
run: | | |
cd build/py32-metapac/ | |
cargo build --features pac,metadata,rt,memory-x,py32f030k28 --target thumbv6m-none-eabi | |
cargo doc --features pac,metadata,rt,memory-x,py32f030k28 --target thumbv6m-none-eabi | |
build-win: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use nightly Rust | |
run: | | |
rustup default nightly | |
rustup target add thumbv6m-none-eabi | |
- name: Build | |
run: | | |
.\d.ps1 gen | |
shell: powershell | |
- name: Test | |
run: | | |
cd build/py32-metapac/ | |
cargo build --features pac,metadata,rt,memory-x,py32f030k28 --target thumbv6m-none-eabi | |
cargo doc --features pac,metadata,rt,memory-x,py32f030k28 --target thumbv6m-none-eabi |