Skip to content

Commit 6f28151

Browse files
ci: Check MSRV
1 parent cd4f109 commit 6f28151

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,27 @@ jobs:
4545
run: cargo build --verbose --examples --target ${{ matrix.target }}
4646
if: matrix.target != 'x86_64-unknown-linux-gnu'
4747

48+
build-msrv:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- uses: actions/checkout@v4
52+
53+
- name: Install build dependencies
54+
shell: bash
55+
run: |
56+
sudo apt-get update -y -qq && sudo apt-get install -y -qq llvm libc6-dev-i386 libclang-dev
57+
58+
- uses: fiam/arm-none-eabi-gcc@v1
59+
with:
60+
release: "9-2020-q2"
61+
62+
- uses: actions-rs/toolchain@v1
63+
with:
64+
profile: minimal
65+
toolchain: 1.87
66+
target: thumbv7em-none-eabi
67+
override: true
68+
components: llvm-tools-preview
69+
70+
- name: Build
71+
run: cargo build --release --all-features --target thumbv7em-none-eabi

0 commit comments

Comments
 (0)