embassy/.github/workflows/rust.yml

27 lines
478 B
YAML
Raw Normal View History

2020-10-31 22:03:46 +00:00
name: Rust
on:
push:
2020-12-01 16:52:06 +00:00
branches: [master]
2020-10-31 22:03:46 +00:00
pull_request:
2020-12-01 16:52:06 +00:00
branches: [master]
2020-10-31 22:03:46 +00:00
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
2020-12-01 16:52:06 +00:00
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
2021-02-28 21:06:47 +00:00
components: rust-src
2020-12-01 16:52:06 +00:00
override: true
2021-03-04 20:40:54 +00:00
- name: install
run: rustup target add thumbv7em-none-eabi thumbv6m-none-eabi
2020-12-01 16:52:06 +00:00
- name: Build
2021-03-02 20:14:58 +00:00
run: ./ci.sh