embassy/.github/workflows/rust.yml

26 lines
432 B
YAML
Raw Normal View History

2020-10-31 23:03:46 +01:00
name: Rust
on:
push:
2020-12-01 17:52:06 +01:00
branches: [master]
2020-10-31 23:03:46 +01:00
pull_request:
2020-12-01 17:52:06 +01:00
branches: [master]
2020-10-31 23:03:46 +01:00
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
2020-12-01 17:52:06 +01:00
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: thumbv7em-none-eabi
2021-02-28 22:06:47 +01:00
components: rust-src
2020-12-01 17:52:06 +01:00
override: true
- name: Build
run: ./test-build.sh