Skip to content

v0.1

v0.1 #4

Workflow file for this run

name: Build firmware
on:
release:
types: [ created ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- epd_model: 5
name: 290R-N
- epd_model: 2
name: 213R-N
steps:
- uses: actions/checkout@v4
- name: Set toolchain permissions
run: chmod -R +x firmware/tc32_linux/
- name: Build firmware (EPD model ${{ matrix.epd_model }} - ${{ matrix.name }})
run: |
cd firmware
make clean || true
make -j$(nproc) EXTRA_CFLAGS="-DEPD_DEFAULT_MODEL=${{ matrix.epd_model }}"
- name: Rename binary
run: cp firmware/ATC_Paper.bin ATC_Paper_${{ matrix.name }}.bin
- name: Upload release asset
uses: softprops/action-gh-release@v2
with:
files: ATC_Paper_${{ matrix.name }}.bin