Skip to content

Commit d661a78

Browse files
committed
Add GHAs.
1 parent c5a260b commit d661a78

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v1
11+
with:
12+
submodules: true
13+
- name: Add Target
14+
run: rustup target add thumbv6m-none-eabi
15+
- name: Build
16+
run: cargo build --verbose --target=thumbv6m-none-eabi

.github/workflows/format.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Format
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Add Tool
11+
run: rustup component add rustfmt
12+
- name: Check Format
13+
run: cargo fmt -- --check

0 commit comments

Comments
 (0)