-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (32 loc) · 949 Bytes
/
build.yml
File metadata and controls
38 lines (32 loc) · 949 Bytes
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
38
name: build
on: [push]
jobs:
build_ubuntu:
runs-on: ubuntu-24.04
timeout-minutes: 6
strategy:
matrix:
target: [ubuntu]
steps:
- name: Install GIT
run: sudo apt-get update && sudo apt-get install -y git
- uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
- name: Install
run: |
sudo apt-get install -y gcc-multilib g++-multilib linux-modules-extra-$(uname -r)
python3 -m venv .venv && source ".venv/bin/activate"
pip install -r requirements-dev.txt
- name: Build SITL
run: |
source ".venv/bin/activate"
make ${{ matrix.target }}-build
- name: Run SITL and smoke test
timeout-minutes: 3
run: |
./scripts/vcan.sh slcan0
source ".venv/bin/activate"
make ${{ matrix.target }}-run &
./tests/smoke_socketcan.py