-
Notifications
You must be signed in to change notification settings - Fork 14
62 lines (52 loc) · 1.37 KB
/
tests.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Clone this repository
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install oresat-configs
run: |
python -m pip install --upgrade pip
pip install oresat-configs
- name: Install Ubuntu dependencies
run: |
sudo apt update
sudo apt install -y gcc-arm-none-eabi srecord xxd
- name: Apply C3 patches
working-directory:
ext/ChibiOS
run: |
patch -p0 < ../../src/f4/app_control/stm32f42x_43x_efl.patch
patch -p1 < ../../src/f4/app_control/stm32f439_hmacsha256.patch
- name: Compile f0 apps
run: |
make -C src/f0/app_battery
make -C src/f0/app_blinky
make -C src/f0/app_bootloader
make -C src/f0/app_devboard
make -C src/f0/app_adcs
make -C src/f0/app_solar
- name: Compile f4 apps
run: |
make -C src/f4/app_blinky
make -C src/f4/app_cantest
- name: Compile l4 apps
run: |
make -C src/l4/app_blinky
make -C src/l4/app_devboard
make -C src/l4/app_devboard_cpp