Skip to content

feat: updating from newer svd2rust #107

feat: updating from newer svd2rust

feat: updating from newer svd2rust #107

Workflow file for this run

name: Rust
on:
pull_request:
push:
branches:
- master
jobs:
build:
strategy:
matrix:
rust-channel: [ 'stable', 'nightly' ]
rust-target: [ 'x86_64-unknown-linux-gnu', 'thumbv7em-none-eabi' ]
name: ${{ matrix.rust-channel }}-${{ matrix.rust-target }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-channel }}
target: ${{ matrix.rust-target }}
override: true
- name: Cargo Check
uses: actions-rs/cargo@v1
with:
command: check
args: --target ${{ matrix.rust-target }}
- name: Cargo Build
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose --target ${{ matrix.rust-target }}