Browse Source

Add automated build and status badge

master
Torsten Stauder 4 years ago
parent
commit
c0ef87a1c5
  1. 22
      .github/workflows/build.yml
  2. 2
      README.md
  3. 14
      platformio.ini

22
.github/workflows/build.yml

@ -0,0 +1,22 @@
name: Build all boards
on:
push:
branches:
- master
jobs:
main:
name: Build all boards
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: '3.x'
- name: Install Platform IO
run: |
python -m pip install --upgrade pip
pip install -U platformio
- name: Build
run: platformio run -e esp32-a1s -e lolin32 -e lolin_d32 -e lolin_d32_pro -e nodemcu-32s -e az-delivery-devkit-v4 -e ttgo_t8

2
README.md

@ -3,6 +3,8 @@
## NEWS ## NEWS
* EN: I've set up a primarily German-speaking community with much documentation. Also an international corner for non-German-speakers is available at https://forum.espuino.de. Github-Login can be used there but it's not necessary. * EN: I've set up a primarily German-speaking community with much documentation. Also an international corner for non-German-speakers is available at https://forum.espuino.de. Github-Login can be used there but it's not necessary.
* DE: Ich habe ein primär deutschsprachiges Forum aufgesetzt, welches ich mit reichlich Doku versehen habe. Würde mich freuen, euch dort zu sehen: https://forum.espuino.de. Ihr könnt euch dort mit eurem Github-Login einloggen, jedoch auch "normal" anmelden. Dokumenation findet ihr insbesondere hier: https://forum.espuino.de/c/dokumentation/anleitungen/10 * DE: Ich habe ein primär deutschsprachiges Forum aufgesetzt, welches ich mit reichlich Doku versehen habe. Würde mich freuen, euch dort zu sehen: https://forum.espuino.de. Ihr könnt euch dort mit eurem Github-Login einloggen, jedoch auch "normal" anmelden. Dokumenation findet ihr insbesondere hier: https://forum.espuino.de/c/dokumentation/anleitungen/10
## Build status
![build workflow](https://github.com/biologist79/ESPuino/actions/workflows/build.yml/badge.svg)
## Changelog ## Changelog
Moved to [another location](changelog.md) as it became to prominent here. Only last three events are kept: Moved to [another location](changelog.md) as it became to prominent here. Only last three events are kept:
* 26.02.2021: Shutdown via webgui is now available. * 26.02.2021: Shutdown via webgui is now available.

14
platformio.ini

@ -26,19 +26,19 @@ lib_deps_external =
[env:common] [env:common]
platform = espressif32 platform = espressif32
build_flags = -DHAL=1 -DHAL=3 -DHAL=4
; Don't forget to run this script if you changed the html-files provided in any way ; Don't forget to run this script if you changed the html-files provided in any way
extra_scripts = extra_scripts =
pre:processHtml.py pre:processHtml.py
[env:esp32-a12]
[env:esp32-a1s]
platform = espressif32 platform = espressif32
board = esp-wrover-kit board = esp-wrover-kit
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
board_build.partitions = huge_ap.csv
board_build.partitions = huge_app.csv
build_flags = -DHAL=2 build_flags = -DHAL=2
-DRFID_READER_TYPE_MFRC522_I2C
-DBOARD_HAS_PSRAM -DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-issue
lib_deps = lib_deps =
@ -56,6 +56,7 @@ board = lolin32
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
board_build.partitions = huge_app.csv board_build.partitions = huge_app.csv
build_flags = -DHAL=1
lib_deps = lib_deps =
${common.lib_deps_builtin} ${common.lib_deps_builtin}
${common.lib_deps_external} ${common.lib_deps_external}
@ -74,6 +75,7 @@ board = lolin_d32
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
board_build.partitions = huge_app.csv board_build.partitions = huge_app.csv
build_flags = -DHAL=3
lib_deps = lib_deps =
${common.lib_deps_builtin} ${common.lib_deps_builtin}
${common.lib_deps_external} ${common.lib_deps_external}
@ -100,7 +102,8 @@ lib_deps =
extra_scripts = ${env:common.extra_scripts} extra_scripts = ${env:common.extra_scripts}
upload_port = /dev/cu.wchusbserial1410 upload_port = /dev/cu.wchusbserial1410
monitor_port = /dev/cu.wchusbserial1410 monitor_port = /dev/cu.wchusbserial1410
build_flags = -DBOARD_HAS_PSRAM
build_flags = -DHAL=4
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-issue
platform_packages = platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5-rc6 platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5-rc6
@ -156,7 +159,8 @@ lib_deps =
extra_scripts = ${env:common.extra_scripts} extra_scripts = ${env:common.extra_scripts}
upload_port = /dev/cu.SLAB_USBtoUART upload_port = /dev/cu.SLAB_USBtoUART
monitor_port = /dev/cu.SLAB_USBtoUART monitor_port = /dev/cu.SLAB_USBtoUART
build_flags = -DBOARD_HAS_PSRAM
build_flags = -DHAL=5
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-issue
platform_packages = platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5-rc6 platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.5-rc6

Loading…
Cancel
Save