2021-02-03 05:15:13 +01:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-02-03 05:17:29 +01:00
|
|
|
branches: [main]
|
2021-02-03 05:15:13 +01:00
|
|
|
pull_request:
|
2021-02-03 05:17:29 +01:00
|
|
|
branches: [main]
|
2021-02-03 05:15:13 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: nightly
|
|
|
|
target: thumbv7em-none-eabi
|
|
|
|
override: true
|
|
|
|
- name: Build
|
2021-03-02 21:20:00 +01:00
|
|
|
run: ./ci.sh
|