Merge pull request #97 from oresat/f0-bootloader #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |