-
Notifications
You must be signed in to change notification settings - Fork 21
35 lines (35 loc) · 1.01 KB
/
build-stm32.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
name: STM32 builds
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
board:
- actuator
- can-io
- motor-control
- proximity-beacon
- sensor
- uwb-beacon
- wheel-encoder
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Monkeypatch python3
run: |
cd $GITHUB_WORKSPACE/lib/uavcan/libuavcan/dsdl_compiler
sed -i s/python/python3/ libuavcan_dsdlc
- name: Run packager
uses: docker://antoinealb/cvra-ci:latest
with:
args: bash -c "cd /github/workspace/${{ matrix.board }}-firmware && packager"
- name: Generate DSDL files
uses: docker://antoinealb/cvra-ci:latest
with:
args: bash -c "cd /github/workspace/${{ matrix.board }}-firmware && make dsdlc"
- name: Build
uses: docker://antoinealb/cvra-ci:latest
with:
args: bash -c "cd /github/workspace/${{ matrix.board }}-firmware && make"