-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 946 Bytes
/
rust.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
37
name: CI
on:
push:
branches: [ main ]
paths-ignore:
- '**/README.md'
pull_request:
branches: [ main ]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
build: [linux]
include:
- build: linux
#os: ubuntu-latest # FIXME: ubuntu-22.04 => "native_internal.h:152:13: error: variably modified ‘__isr_stack’ at file scope"
os: ubuntu-20.04
rust: stable
steps:
- uses: actions/checkout@v1
- name: Install rustup
run: |
curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
- name: Run test
run: |
sudo apt update
sudo apt install gcc-multilib
sudo apt install python3-serial
sudo apt install bridge-utils
make ci