embassy/.github/workflows/rust.yml

27 lines
478 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
2021-02-28 22:06:47 +01:00
components: rust-src
2020-12-01 17:52:06 +01:00
override: true
2021-03-04 21:40:54 +01:00
- name: install
run: rustup target add thumbv7em-none-eabi thumbv6m-none-eabi
2020-12-01 17:52:06 +01:00
- name: Build
2021-03-02 21:14:58 +01:00
run: ./ci.sh