Skip to content

Commit 8cee116

Browse files
authored
Merge pull request #110 from stm32-rs/GH-actions-CI
Use GH actions for CI
2 parents 91bb5d8 + a83c627 commit 8cee116

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
on: [push, pull_request]
2+
3+
name: Continuous integration
4+
5+
jobs:
6+
ci:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
rust:
11+
- stable
12+
- 1.39.0 # MSRV
13+
include:
14+
- rust: nightly
15+
experimental: true
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions-rs/toolchain@v1
20+
with:
21+
profile: minimal
22+
toolchain: ${{ matrix.rust }}
23+
target: thumbv6m-none-eabi
24+
override: true
25+
26+
- name: Regular build
27+
run: python tools/check.py
28+
29+
- name: Size check
30+
run: python tools/check.py size_check
31+
32+

0 commit comments

Comments
 (0)