Skip to content

Update pio-usb patch #59

Update pio-usb patch

Update pio-usb patch #59

Workflow file for this run

name: herak-raspberry CI
on:
push:
branches: [main]
schedule:
- cron: '0 15 * * THU'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
working-directory: ${{runner.workspace}}/
shell: bash
run: |
sudo apt-get update
sudo apt-get install build-essential git cmake binutils-dev -y
sudo apt install gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib -y
cd ${{runner.workspace}}/herak-raspberry/
git submodule update --init --recursive
./scripts/apply_patches.sh
cp -f ${{runner.workspace}}/herak-raspberry/scripts/params_ci.txt /${{runner.workspace}}/herak-raspberry/app/solar/params.txt
mkdir ${{runner.workspace}}/herak-raspberry/build/solar-ci
cd ${{runner.workspace}}/herak-raspberry/build/solar-ci
cmake ../../app/solar
make
ls -al ${{runner.workspace}}/herak-raspberry/build/solar-ci/herak-solar.uf2
cp -f ${{runner.workspace}}/herak-raspberry/scripts/params_ci.txt /${{runner.workspace}}/herak-raspberry/app/shaft/params.txt
mkdir ${{runner.workspace}}/herak-raspberry/build/shaft-ci
cd ${{runner.workspace}}/herak-raspberry/build/shaft-ci
cmake ../../app/shaft
make
ls -al ${{runner.workspace}}/herak-raspberry/build/shaft-ci/herak-shaft.uf2