All checks were successful
build / build-test (push) Successful in 23s
17 lines
419 B
YAML
17 lines
419 B
YAML
name: build
|
|
on: [push, workflow_dispatch]
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: docker
|
|
container: rust:1-bookworm
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Checkout
|
|
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git .
|
|
|
|
- name: Target (Cortex-M0)
|
|
run: rustup target add thumbv6m-none-eabi
|
|
|
|
- name: Check
|
|
run: cargo check --target thumbv6m-none-eabi
|