2 changed files with 30 additions and 0 deletions
@ -0,0 +1,15 @@
|
||||
name: Rust |
||||
|
||||
on: [push, pull_request] |
||||
|
||||
jobs: |
||||
check: |
||||
|
||||
runs-on: ubuntu-latest |
||||
|
||||
steps: |
||||
- uses: actions/checkout@v1 |
||||
- name: Add Tool |
||||
run: rustup component add rustfmt |
||||
- name: Check Format |
||||
run: cargo fmt -- --check |
@ -0,0 +1,15 @@
|
||||
name: Rust |
||||
|
||||
on: [push, pull_request] |
||||
|
||||
jobs: |
||||
build: |
||||
|
||||
runs-on: ubuntu-latest |
||||
|
||||
steps: |
||||
- uses: actions/checkout@v1 |
||||
- name: Add Target |
||||
run: rustup target add thumbv7em-none-eabihf |
||||
- name: Build |
||||
run: cargo build --verbose --target=thumbv7em-none-eabihf |
Loading…
Reference in new issue