mirror of
https://github.com/seemoo-lab/openhaystack.git
synced 2026-08-23 21:46:15 +00:00
* Moving microbit firmware to a subfolder in /Firmware to prepare integration of ESP32 * Add firmware for ESP32 and update workflows * Integrated ESP32 firmware from @fhessel to OpenHaystack App Co-authored-by: Frank Hessel <fhessel@seemoo.tu-darmstadt.de>
29 lines
644 B
YAML
29 lines
644 B
YAML
name: "Build firmware (ESP32)"
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- Firmware/ESP32/**
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths:
|
|
- Firmware/ESP32/**
|
|
|
|
jobs:
|
|
build-firmware-esp32:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: actions/checkout@v2
|
|
- name: "Copy static files"
|
|
run: |
|
|
mkdir -p archive/build
|
|
cp Firmware/ESP32/flash_esp32.sh archive/
|
|
- name: "Build ESP32 firmware"
|
|
uses: ./.github/actions/build-esp-idf
|
|
with:
|
|
src-dir: Firmware/ESP32
|
|
out-dir: archive/build
|
|
app-name: openhaystack
|