Skip to content

Fixup S60P bootloader size #85

Fixup S60P bootloader size

Fixup S60P bootloader size #85

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
container:
image: alpine:3.15
strategy:
matrix:
model: ["TS100", "TS80", "TS80P", "MHP30", "S60P", "S60"]
fail-fast: true
steps:
- name: Install dependencies (apk)
run: apk add --no-cache gcc-arm-none-eabi newlib-arm-none-eabi findutils make git python3 py3-pip
- name: Install dependencies (py)
run: pip3 install IntelHex
- uses: actions/checkout@v4
with:
submodules: true
- name: prep
run: mkdir -p /tmp/${{ matrix.model }}
- name: build runtime ${{ matrix.model }}
run: make all build_type=runtime model=${{ matrix.model }}
- name: cp outputs
run: cp build/*.hex build/*.dfu /tmp/${{ matrix.model }}
- name: build bootloader ${{ matrix.model }}
run: make clean && make all build_type=bootloader model=${{ matrix.model }}
- name: cp outputs
run: cp build/*.hex build/*.dfu /tmp/${{ matrix.model }}
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.model }}
path: |
/tmp/${{ matrix.model }}/*.hex
/tmp/${{ matrix.model }}/*.dfu
if-no-files-found: error