-
Notifications
You must be signed in to change notification settings - Fork 29
36 lines (29 loc) · 895 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on:
push:
branches: [ staging, trying, master ]
pull_request:
name: CI
jobs:
ci-linux:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental || false }}
strategy:
matrix:
rust: [stable, nightly]
include:
# Nightly is only for reference and allowed to fail
- rust: nightly
experimental: true
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Check code (cortex-m fs)
run: cargo check --features "cortex-m fs"
- name: Check code (cortex-m hs)
run: cargo check --features "cortex-m hs"
- name: Check code (cortex-m hs xcvrdly)
run: cargo check --features "cortex-m hs xcvrdly"
- name: Check code (riscv fs)
run: cargo check --features "riscv fs"