Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance/v134 #473

Merged
merged 22 commits into from
Mar 5, 2022
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
64d6c9f
Describes how to select the correct partition to enable OTA.
Hieromon Feb 8, 2022
d4e3f43
Add the ability to delete a credential
Hieromon Feb 9, 2022
b8d1d3b
Adds a text of credential deletion failure
Hieromon Feb 9, 2022
f2c47d4
Apply authentication to /_ac/reset
Hieromon Feb 16, 2022
9b5d784
Deactivate the delete credentials function when the OPEN SSIDs menu i…
Hieromon Feb 16, 2022
6632ab5
Documentation of the credentials removal function
Hieromon Feb 16, 2022
b94a28f
Merge pull request #464 from Hieromon/enhance/delcre
Hieromon Feb 16, 2022
597562e
Migrate Build CI to GitHub Actions
Hieromon Feb 21, 2022
d842785
Separate a job excluded ArduinoJson
Hieromon Feb 24, 2022
d4180a8
Exclude AutoConnect itself from the dependency
Hieromon Feb 24, 2022
b8145db
Merge pull request #469 from Hieromon/CI
Hieromon Feb 24, 2022
d8ee5b9
Changes the build status badge to the actions
Hieromon Feb 24, 2022
60169e6
Drop Travis CI
Hieromon Feb 24, 2022
de6d3aa
Fix an unused warning
Hieromon Feb 24, 2022
cbf80cb
Change a text of the build status badge
Hieromon Feb 24, 2022
b87f82c
Revert "Change a text of the build status badge"
Hieromon Feb 24, 2022
aef7620
Change log for v1.3.4
Hieromon Feb 24, 2022
5fda87d
Bump Version
Hieromon Feb 27, 2022
ae41971
Add mqttRSSI_NA to jobs for ArduinoJson dependency
Hieromon Feb 28, 2022
8724380
Supports LittleFS_esp32 legacy library
Hieromon Mar 2, 2022
df5d498
Match compatible version to PageBuilder upstream
Hieromon Mar 2, 2022
48906d2
Deploy for v1.3.4
Hieromon Mar 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Migrate Build CI to GitHub Actions
Hieromon committed Feb 21, 2022
commit 597562ed1f609921fddd5faddeb5876f8bac08b3
120 changes: 120 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# AutoConnect library examples build CI

name: build

on:
pull_request:
branches:
- 'master'
types:
- opened
release:
types:
- published
repository_dispatch:
workflow_dispatch:

jobs:
biuld:
name: ${{ matrix.board.fqbn }}
runs-on: ubuntu-latest

env:
LIBRARIES: |
- source-path: ./
- name: PageBuilder
- name: PubSubClient
SKETCHES_PATH: examples
SKETCHES_REPORTS_PATH: sketches-reports

strategy:
matrix:
board:
- fqbn: "esp8266:esp8266:generic"
platform-name: esp8266:esp8266
- fqbn: "esp32:esp32:esp32"
platform-name: esp32:esp32

library-dependency:
- name: ArduinoJson
version: 5.13.5
- name: ArduinoJson

include:
- board:
platform-name: esp8266:esp8266
platforms: |
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
- board:
platform-name: esp32:esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

fail-fast: false

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install ESP32 platform dependencies
if: matrix.board.platform-name == 'esp32:esp32'
run: pip3 install pyserial

- name: Combines Platform-compliant sketches for ESP8266
if: matrix.board.platform-name == 'esp8266:esp8266'
env:
BUILD_SKETCHES: |
- ${{ env.SKETCHES_PATH }}/EEPROM
- ${{ env.SKETCHES_PATH }}/FSBrowser

- name: Combines Platform-compliant sketches for ESP32
if: matrix.board.platform-name == 'esp32:esp32'
env:
BUILD_SKETCHES: |
- ${{ env.SKETCHES_PATH }}/CreditMigrate
- ${{ env.SKETCHES_PATH }}/FSBrowser32
- ${{ env.SKETCHES_PATH }}/WebCamServer

- name: Compile example sketches that require ArduinoJson
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.platforms }}
libraries: |
- ${{ env.LIBRARIES }}
- ${{ matrix.library-dependency.name }}
enable-deltas-report: true
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
sketch-paths: |
- ${{ env.BUILD_SKETCHES }}
- ${{ env.SKETCHES_PATH }}/ConfigIP
- ${{ env.SKETCHES_PATH }}/Credential
- ${{ env.SKETCHES_PATH }}/Elements
- ${{ env.SKETCHES_PATH }}/FileUpload
- ${{ env.SKETCHES_PATH }}/HandleClient
- ${{ env.SKETCHES_PATH }}/HandlePortal
- ${{ env.SKETCHES_PATH }}/HandlePortalEX
- ${{ env.SKETCHES_PATH }}/HelloWorld
- ${{ env.SKETCHES_PATH }}/mqttRSSI
- ${{ env.SKETCHES_PATH }}/mqttRSSI_FS
- ${{ env.SKETCHES_PATH }}/Simple
- ${{ env.SKETCHES_PATH }}/Update
- ${{ env.SKETCHES_PATH }}/OTAUpdate
- ${{ env.SKETCHES_PATH }}/WebUpdate

- name: Compile example sketches without JSON
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.platforms }}
libraries: |
- ${{ env.LIBRARIES }}
cli-compile-flags: |
- --build-property
- compiler.cpp.extra_flags="-DAUTOCONNECT_NOUSE_JSON"
enable-deltas-report: true
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
sketch-paths: |
- ${{ env.SKETCHES_PATH }}/mqttRSSI_NA