Skip to content

feat: updating from newer svd2rust #76

feat: updating from newer svd2rust

feat: updating from newer svd2rust #76

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@v3
- 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/[email protected]
with:
command: check
args: --target ${{ matrix.rust-target }}
- name: Cargo Build
uses: actions-rs/[email protected]
with:
command: build
args: --verbose --target ${{ matrix.rust-target }}