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
|
|
|
|
run: ./test-build.sh
|